• Calvin Sun's avatar
    Bug#52062: Compiler warning in os0file.c on windows 64-bit · ec51b479
    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
    ec51b479
os0file.c 128 KB