Changed z80 to use loop induction. Updated libs to use no induction when it is better.
[fw/sdcc] / device / lib / vprintf.c
index 175c64bcf9aa37237ed04642af214d234b076337..ba7dd88600d486356eed756f7216808fe4fae517 100644 (file)
@@ -72,7 +72,7 @@ static bit   lsd;
 /* 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;
@@ -355,7 +355,7 @@ get_conversion_spec:
        goto get_conversion_spec;
 
       case 'C':
-               output_char( va_arg(ap,unsigned char) );
+               output_char( va_arg(ap,int) );
        break;
 
       case 'S':