mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
tools/intel_bios_reader: use correct printf format for size_t
intel_bios_reader.c: In function ‘dump_backlight_info’: intel_bios_reader.c:192:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
73dd92f85b
commit
592b1a51ff
@ -188,7 +188,7 @@ static void dump_backlight_info(void)
|
|||||||
printf("Backlight info block (len %d):\n", block->size);
|
printf("Backlight info block (len %d):\n", block->size);
|
||||||
|
|
||||||
if (sizeof(struct blc_struct) != backlight->blcstruct_size) {
|
if (sizeof(struct blc_struct) != backlight->blcstruct_size) {
|
||||||
printf("\tBacklight struct sizes don't match (expected %lu, got %u), skipping\n",
|
printf("\tBacklight struct sizes don't match (expected %zu, got %u), skipping\n",
|
||||||
sizeof(struct blc_struct), backlight->blcstruct_size);
|
sizeof(struct blc_struct), backlight->blcstruct_size);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user