diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-07 08:02:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-07 08:02:48 +0000 |
commit | 00d0a134ec336e989b19e310ccb31b05a76253aa (patch) | |
tree | 505f2a1f0041afae88c1a3e1504d10dc22b34707 | |
parent | d009502eb4c6b467d80a686b9a91f3ddbf0b595c (diff) | |
download | ChibiOS-00d0a134ec336e989b19e310ccb31b05a76253aa.tar.gz ChibiOS-00d0a134ec336e989b19e310ccb31b05a76253aa.tar.bz2 ChibiOS-00d0a134ec336e989b19e310ccb31b05a76253aa.zip |
Small fix to chprintf().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5556 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/various/chprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/various/chprintf.c b/os/various/chprintf.c index 0c8cbb255..0b9ff2da5 100644 --- a/os/various/chprintf.c +++ b/os/various/chprintf.c @@ -229,9 +229,9 @@ void chprintf(BaseSequentialStream *chp, const char *fmt, ...) { c = 8;
unsigned_common:
if (is_long)
- l = va_arg(ap, long);
+ l = va_arg(ap, unsigned long);
else
- l = va_arg(ap, int);
+ l = va_arg(ap, unsigned int);
p = ltoa(p, l, c);
break;
default:
|