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