X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1c8fbeb93e82f6aafb885b57b9afbfadcf85c171..1d0ccbe04b6d04cc4e05aeb9bbcb7b7fa0cfdbd1:/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; }