1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Fixing a Windows casting-related compilation error. Thanks to Jah for reporting this

This commit is contained in:
kris
2008-07-26 02:58:07 +00:00
parent 332e8aa176
commit 5f2e6cf5ac

View File

@@ -167,7 +167,7 @@ void set_ipoptions(int sd, void *opts, size_t optslen)
if (sd == -1)
return;
setsockopt(sd, IPPROTO_IP, IP_OPTIONS, opts, optslen);
setsockopt(sd, IPPROTO_IP, IP_OPTIONS, (const char *) opts, optslen);
#endif
}