-
Committer:
Stewart Smith
-
Author(s):
Calvin Sun
-
Date:
2010-12-17 07:04:09 UTC
-
Revision ID:
stewart@flamingspork.com-20101217070409-apj3g4yquqngy7n0
Merge Revision revid:calvin.sun@oracle.com-20101028053453-2ekjdge2edt1a425 from MySQL InnoDB
Original revid:calvin.sun@oracle.com-20101028053453-2ekjdge2edt1a425
Original Authors: Calvin Sun <calvin.sun@oracle.com>
Original commit message:
Bug#52062: Compiler warning in os0file.c on windows 64-bit
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