mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
CHG: Missing some headers
FIX: some message/warning in pm3_binlib.c @gm4tr1x
This commit is contained in:
parent
e9a92fe237
commit
1a570b0a6a
3 changed files with 166 additions and 164 deletions
|
@ -107,7 +107,7 @@ static int l_unpack(lua_State *L) /** unpack(f,s, [init]) */
|
|||
size_t len;
|
||||
const char *s=luaL_checklstring(L,2,&len); /* switched s and f */
|
||||
const char *f=luaL_checkstring(L,1);
|
||||
int i_read = luaL_optint(L,3,1)-1;
|
||||
int i_read = (int)luaL_optint(L,(3),(1))-1;
|
||||
unsigned int i;
|
||||
if (i_read >= 0) {
|
||||
i = i_read;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue