1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

Fixed a compiler warning.

This commit is contained in:
batrick
2009-07-14 09:56:09 +00:00
parent 543af4c57d
commit 9dce0cd070

View File

@@ -273,7 +273,7 @@ static void set_thread (lua_State *L, int index, struct l_nsock_udata *n)
*/
static int socket_lock(lua_State * L)
{
int p = o.max_parallelism == 0 ? MAX_PARALLELISM : o.max_parallelism;
unsigned p = o.max_parallelism == 0 ? MAX_PARALLELISM : o.max_parallelism;
lua_settop(L, 1);
lua_rawgeti(L, LUA_ENVIRONINDEX, THREAD_SOCKETS);
nse_base(L);