fix mis-cast in unused code

For correctness, fix cast to (fdnode *) in #ifdef __WIN32 code.
(lighttpd compiles under cygwin, but not under native _WIN32)

(thx ToApolytoXaos)
personal/stbuehler/mod-csrf-old
Glenn Strauss 2016-08-25 02:01:33 -04:00
parent 40f16d52db
commit ede5ea2d83
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void fdevent_sched_run(server *srv, fdevents *ev) {
if (fdn == (fdnode *)0x1) {
rc = closesocket(fd);
}
else if (fdn == (fdnode)0x2) {
else if (fdn == (fdnode *)0x2) {
rc = close(fd);
}
#else