diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 14:51:10 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 14:51:10 -0600 |
commit | b845f19a3bb200e49a7a314787b3290e3155ce01 (patch) | |
tree | 51d3d2e4887b9a950b1e7d85c61359544c7f547c /apps/examples/adc | |
parent | f7de6bbcbae818aff936bd71ee5268946ea9ad30 (diff) | |
download | px4-nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.gz px4-nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.bz2 px4-nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.zip |
Fixes for more cppcheck complaints. Mostly cosmetic
Diffstat (limited to 'apps/examples/adc')
-rw-r--r-- | apps/examples/adc/adc_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/adc/adc_main.c b/apps/examples/adc/adc_main.c index 884598b6d..3478b5e0a 100644 --- a/apps/examples/adc/adc_main.c +++ b/apps/examples/adc/adc_main.c @@ -358,8 +358,8 @@ int adc_main(int argc, char *argv[]) int nsamples = nbytes / sizeof(struct adc_msg_s); if (nsamples * sizeof(struct adc_msg_s) != nbytes) { - printf("adc_main: read size=%d is not a multiple of sample size=%d, Ignoring\n", - nbytes, sizeof(struct adc_msg_s)); + printf("adc_main: read size=%ld is not a multiple of sample size=%d, Ignoring\n", + (long)nbytes, sizeof(struct adc_msg_s)); } else { |