mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
fix %u <> size_t compilation warning
This commit is contained in:
parent
8c017157d4
commit
84753b91c0
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ static int l_T55xx_detect(lua_State *L) {
|
|||
if (size != 1) return returnToLuaWithError(L, "Wrong size of useGB, got %d , expected 1", (int) size);
|
||||
sscanf(p_gb, "%u", &gb);
|
||||
useGB = ( gb ) ? true : false;
|
||||
printf("p_gb size %u | %c \n", size, useGB ? 'Y':'N');
|
||||
printf("p_gb size %zu | %c \n", size, useGB ? 'Y':'N');
|
||||
}
|
||||
case 1: {
|
||||
const char *p_pwd = luaL_checklstring(L, 1, &size);
|
||||
|
|
Loading…
Reference in a new issue