windows: fixed compilation warning