mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-21 00:05:30 +00:00
(LGTM) Silence some warnings
This commit is contained in:
parent
5dde91040f
commit
3619fae2d9
@ -1369,7 +1369,7 @@ bool Pass::init_pipeline_layout()
|
||||
if (reflection.push_constant_stage_mask & SLANG_STAGE_FRAGMENT_MASK)
|
||||
push_range.stageFlags |= VK_SHADER_STAGE_FRAGMENT_BIT;
|
||||
|
||||
RARCH_LOG("[Vulkan]: Push Constant Block: %u bytes.\n", reflection.push_constant_size);
|
||||
RARCH_LOG("[Vulkan]: Push Constant Block: %u bytes.\n", (unsigned int)reflection.push_constant_size);
|
||||
|
||||
layout_info.pushConstantRangeCount = 1;
|
||||
layout_info.pPushConstantRanges = &push_range;
|
||||
|
@ -643,9 +643,9 @@ bool slang_reflect(const Compiler &vertex_compiler, const Compiler &fragment_com
|
||||
for (auto ¶m : reflection->semantic_float_parameters)
|
||||
{
|
||||
if (param.uniform)
|
||||
RARCH_LOG("[slang]: #%u (Offset: %u)\n", i, param.ubo_offset);
|
||||
RARCH_LOG("[slang]: #%u (Offset: %u)\n", i, (unsigned int)param.ubo_offset);
|
||||
if (param.push_constant)
|
||||
RARCH_LOG("[slang]: #%u (PushOffset: %u)\n", i, param.push_constant_offset);
|
||||
RARCH_LOG("[slang]: #%u (PushOffset: %u)\n", i, (unsigned int)param.push_constant_offset);
|
||||
i++;
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@ function selectFiles(files)
|
||||
$('#icnAdd').addClass('fa-spinner spinning');
|
||||
var count = files.length;
|
||||
|
||||
for (var i = 0; i < files.length; i++)
|
||||
for (var i = 0; i < count; i++)
|
||||
{
|
||||
filereader = new FileReader();
|
||||
filereader.file_name = files[i].name;
|
||||
|
@ -368,7 +368,7 @@ static bool input_autoconfigure_joypad_from_conf_dir(
|
||||
|
||||
if (list)
|
||||
{
|
||||
RARCH_LOG("[Autoconf]: %d profiles found.\n", list->size);
|
||||
RARCH_LOG("[Autoconf]: %d profiles found.\n", (int)list->size);
|
||||
}
|
||||
|
||||
for (i = 0; i < list->size; i++)
|
||||
|
@ -270,7 +270,7 @@ void RARCH_LOG_BUFFER(uint8_t *data, size_t size)
|
||||
int padding = size % 16;
|
||||
uint8_t buf[16] = {0};
|
||||
|
||||
RARCH_LOG("== %d-byte buffer ==================\n", size);
|
||||
RARCH_LOG("== %d-byte buffer ==================\n", (int)size);
|
||||
|
||||
for(i = 0, offset = 0; i < size; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user