summaryrefslogtreecommitdiff
path: root/decoders/common/sdcard
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-02-22 06:29:16 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-18 15:24:57 +0200
commit6a419ada57b7e219b9aca56253be664cca51865d (patch)
tree67b79ff132be471d418f1a12cf5e58cb5957e884 /decoders/common/sdcard
parent7721de93743346b648fb4ab3acce55bb80f7ce13 (diff)
downloadlibsigrokdecode-6a419ada57b7e219b9aca56253be664cca51865d.tar.gz
libsigrokdecode-6a419ada57b7e219b9aca56253be664cca51865d.zip
irmp: silence printf(3) format warnings (simple approach)
Pick low hanging fruit. Stick with the previous implementation's format specifiers, assume that they work on all platforms which IRMP supports. Cast arguments to mere integers where necessary instead, again assume that their range fits as they did in the previous implementation. This silences several of these compiler warnings: irmp.c:3332:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] ANALYZE_PRINTF ("protocol = NIKON, start bit timings: pulse: %3d - %3d, pause: %3d - %3d\n", ^
Diffstat (limited to 'decoders/common/sdcard')
0 files changed, 0 insertions, 0 deletions