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/slcd/slcd_main.c | |
parent | f7de6bbcbae818aff936bd71ee5268946ea9ad30 (diff) | |
download | nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.gz nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.bz2 nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.zip |
Fixes for more cppcheck complaints. Mostly cosmetic
Diffstat (limited to 'apps/examples/slcd/slcd_main.c')
-rw-r--r-- | apps/examples/slcd/slcd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/slcd/slcd_main.c b/apps/examples/slcd/slcd_main.c index be10969d4..70a91950b 100644 --- a/apps/examples/slcd/slcd_main.c +++ b/apps/examples/slcd/slcd_main.c @@ -317,7 +317,7 @@ int slcd_main(int argc, char *argv[]) /* Set the brightness to the mid value */ brightness = ((unsigned long)priv->attr.maxbrightness + 1) >> 1; - printf("Set brightness to %ld\n", brightness); + printf("Set brightness to %lu\n", brightness); ret = ioctl(fd, SLCDIOC_SETBRIGHTNESS, brightness); if (ret < 0) |