85xx: Add some L1/L2 SPR register definitions
[oweals/u-boot.git] / common / main.c
index 046da6f23ca488d02f3fb900c48fc2b96caafb9e..79ad2912a751c6097e524dca9b7224990f30fb96 100644 (file)
@@ -509,7 +509,7 @@ void reset_cmd_timeout(void)
  */
 
 #define putnstr(str,n) do {                    \
-               printf ("%.*s", n, str);        \
+               printf ("%.*s", (int)n, str);   \
        } while (0)
 
 #define CTL_CH(c)              ((c) - 'a' + 1)