diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-10 11:00:49 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-10 11:00:49 +0000 |
commit | 592b1a51ffa8944da1673e844bfccd0c40cf0a20 (patch) | |
tree | 2fdd8d7962b082b0ffeb117b2443e4d51cee0adc /tools/intel_bios_reader.c | |
parent | 73dd92f85b6321a863dac2a1d22600ad03b3b5d9 (diff) |
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>
Diffstat (limited to 'tools/intel_bios_reader.c')
-rw-r--r-- | tools/intel_bios_reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c index c4b39b09..92fd13df 100644 --- a/tools/intel_bios_reader.c +++ b/tools/intel_bios_reader.c @@ -188,7 +188,7 @@ static void dump_backlight_info(void) printf("Backlight info block (len %d):\n", block->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); return; } |