]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripting.c
Syntax suger
[proxmark3-svn] / client / scripting.c
index 63d7f44e6f53e45148e355b9649bfef74902db88..5d9ce55a716b3c8380d26c27b1a51d95e0bf682c 100644 (file)
@@ -53,7 +53,7 @@ static int l_SendCommand(lua_State *L){
     const char *data = luaL_checklstring(L, 1, &size);
     if(size != sizeof(UsbCommand))
     {
-        printf("Got data size %d, expected %d" , size, sizeof(UsbCommand));
+               printf("Got data size %d, expected %d" , (int) size,(int) sizeof(UsbCommand));
         lua_pushstring(L,"Wrong data size");
         return 1;
     }
Impressum, Datenschutz