git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4598
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-01-25 Paul Stoffregen <paul AT pjrc.com>
+ * device/lib/printf_fast.c: fix %c, char promoted to int
+ * device/lib/printf_tiny.c: fix %c, char promoted to int
+
2007-01-25 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: fix float overflow check, bug #1525093
printf_format_c:
//cjne a, #'c', printf_format_x
cjne a, #99, printf_format_x
+ dec r0
mov a, @r0 // Acc has the character to print
dec r0
sjmp printf_char
printf_format_c:
//cjne a, #'c', printf_format_d
cjne a, #99, printf_format_d
+ dec r0
mov a, @r0 // Acc has the character to print
dec r0
lcall printf_putchar