projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed z80 to use loop induction. Updated libs to use no induction when it is better.
[fw/sdcc]
/
device
/
lib
/
vprintf.c
diff --git
a/device/lib/vprintf.c
b/device/lib/vprintf.c
index 175c64bcf9aa37237ed04642af214d234b076337..ba7dd88600d486356eed756f7216808fe4fae517 100644
(file)
--- a/
device/lib/vprintf.c
+++ b/
device/lib/vprintf.c
@@
-72,7
+72,7
@@
static bit lsd;
/* this one NEEDS to be in data */
static data value_t value;
/* this one NEEDS to be in data */
static data value_t value;
-static unsigned
short
radix;
+static unsigned
char
radix;
// jwk: TODO: this makes the whole dammed thing nonreentrent
static int charsOutputted;
// jwk: TODO: this makes the whole dammed thing nonreentrent
static int charsOutputted;
@@
-355,7
+355,7
@@
get_conversion_spec:
goto get_conversion_spec;
case 'C':
goto get_conversion_spec;
case 'C':
- output_char( va_arg(ap,
unsigned char
) );
+ output_char( va_arg(ap,
int
) );
break;
case 'S':
break;
case 'S':