mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed a compiler warning.
This commit is contained in:
parent
c96c7e9cf1
commit
a470d311a7
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,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_optnumber(L,3,1)-1;
|
||||
int i_read = 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