mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +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);
|
if (size != 1) return returnToLuaWithError(L, "Wrong size of useGB, got %d , expected 1", (int) size);
|
||||||
sscanf(p_gb, "%u", &gb);
|
sscanf(p_gb, "%u", &gb);
|
||||||
useGB = ( gb ) ? true : false;
|
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: {
|
case 1: {
|
||||||
const char *p_pwd = luaL_checklstring(L, 1, &size);
|
const char *p_pwd = luaL_checklstring(L, 1, &size);
|
||||||
|
|
Loading…
Reference in a new issue