windows.c: fixed gcc warning