mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
removed some warnings for windows-platforms
This commit is contained in:
@@ -52,7 +52,7 @@ static int get_startoffset(lua_State *L, int stackpos, size_t len)
|
||||
if(startoffset > 0)
|
||||
startoffset--;
|
||||
else if(startoffset < 0) {
|
||||
startoffset += len;
|
||||
startoffset += (int) len;
|
||||
if(startoffset < 0)
|
||||
startoffset = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user