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)
This commit is contained in:
parent
40f16d52db
commit
ede5ea2d83
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue