* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / src / pic16 / pcode.c
index 146ba2d9851074708064a24c15a0023995a62a68..6aeff8d55bcd2743cbae1f70ff409edaed4e8cb9 100644 (file)
@@ -3977,7 +3977,7 @@ pCodeOp *pic16_newpCodeOpLit(int lit)
 
   pcop->name = NULL;
   //if(lit>=0)
-    sprintf(s,"0x%02hhx", (unsigned char)lit);
+    sprintf(s,"0x%02x", (unsigned char) lit);
   //else
   //  sprintf(s, "%i", lit);