Attempt to fix compiler warnings on 32-bit Windows.