Fix warnings when template-hsc.h is used
authorIan Lynagh <igloo@earth.li>
Sat, 23 May 2009 22:38:51 +0000 (22:38 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 23 May 2009 22:38:51 +0000 (22:38 +0000)
template-hsc.h

index bdc34ed..39c308a 100644 (file)
@@ -48,7 +48,7 @@
 
 #define hsc_type(t)                                         \
     if ((t)(int)(t)1.4 == (t)1.4)                           \
-        printf ("%s%d",                                     \
+        printf ("%s%zu",                                    \
                 (t)(-1) < (t)0 ? "Int" : "Word",            \
                 sizeof (t) * 8);                            \
     else                                                    \