Small fix to chprintf().

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5556 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-04-07 08:02:48 +00:00
parent d009502eb4
commit 00d0a134ec
1 changed files with 2 additions and 2 deletions

View File

@ -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: