• Calvin Sun's avatar
    Bug#52062: Compiler warning in os0file.c on windows 64-bit · 16feea41
    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.
    
    This is for built-in InnoDB.
    
    rb://415
    Approved by: Inaam
    16feea41
os0file.c 107 KB