]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
Fix some printf/scanf format strings
[proxmark3-svn] / client / cmdhw.c
index b6a0d11f2bbd27852bd35cf2384de46630563950..b7fa874d8684e73a6651b23379110c11af1204de 100644 (file)
@@ -335,10 +335,10 @@ int CmdFPGAOff(const char *Cmd)
 
 int CmdLCD(const char *Cmd)
 {
-  int i, j;
+  unsigned int i, j;
 
   UsbCommand c={CMD_LCD};
-  sscanf(Cmd, "%x %d", &i, &j);
+  sscanf(Cmd, "%x %u", &i, &j);
   while (j--) {
     c.arg[0] = i & 0x1ff;
     SendCommand(&c);
Impressum, Datenschutz