Skip to contentSkip to conversation

format string mismtach

DISCUSSION Toralf Förster 2 participants 2 messages May 19, 2014 – May 24, 2014 IIO

lore
Share & tools
lore
#0 lore raw

Hello,

cppcheck reported :

[drivers/staging/iio/Documentation/iio_utils.h:321]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'. [drivers/staging/iio/Documentation/iio_utils.h:353]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.

trivial patches IMO - are they already queued up ?

Signature · 1 line
Toralf
maintainer
#1 lore raw
Quoted 9 lines · Toralf Förster

Hello,

cppcheck reported :

[drivers/staging/iio/Documentation/iio_utils.h:321]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'. [drivers/staging/iio/Documentation/iio_utils.h:353]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.

trivial patches IMO - are they already queued up ?

Nope. Feel free to submit such a patch. If not I'll get around to it eventually!