windows.c: fixed gcc warning
Merge remote-tracking branch 'dmitry/fixes'