• Calvin Sun's avatar
    Bug#52062: Compiler warning in os0file.c on windows 64-bit · c441f79a
    Calvin Sun authored
    On Windows, the parameter for number of bytes passed into WriteFile()
    and ReadFile() is DWORD. Casting is needed to silence the warning on
    64-bit Windows.
    
    Also, adding several asserts to ensure the variable for number of bytes
    is no more than 32 bits, even on 64-bit Windows.
    
    rb://415
    Approved by: Inaam
    c441f79a
os0file.c 128 KB