fixed bug #1465675 (%x format specifier)
authorfrief <frief@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 12 Jun 2006 12:33:35 +0000 (12:33 +0000)
committerfrief <frief@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 12 Jun 2006 12:33:35 +0000 (12:33 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4220 4a8a32a2-be11-0410-ad9d-d568d2c75423

device/lib/printf_tiny.c

index 4d70072d05f71c549eeb69b9f985e703773e9293..46ef05fbd911b997dd713d888066a2afa5c80972 100644 (file)
@@ -136,7 +136,7 @@ printf_format_c:
 
 printf_format_d:
        //cjne  a, #'d', printf_format_u
-       cjne    a, #100, printf_format_u
+       cjne    a, #100, printf_format_x
 #ifndef ALWAYS_PRINT_UNSIGNED
        mov     a, @r0
        jnb     acc.7, printf_uint