mirror of
https://github.com/nmap/nmap.git
synced 2026-07-29 20:15:50 +00:00
Fixing a Windows casting-related compilation error. Thanks to Jah for reporting this
This commit is contained in:
parent
332e8aa176
commit
5f2e6cf5ac
1 changed files with 1 additions and 1 deletions
2
tcpip.cc
2
tcpip.cc
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue