X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a71c68bdf0d117609a1ffd0141d1d682e1ff8e15..6f79363dba7882b00544625b730109bdb9f96c8d:/client/scripting.c diff --git a/client/scripting.c b/client/scripting.c index 63d7f44e..5d9ce55a 100644 --- a/client/scripting.c +++ b/client/scripting.c @@ -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; }