Mingw32 fix for 64-bit literals.
This commit is contained in:
parent
2296f69deb
commit
565f973e2e
|
@ -2,6 +2,7 @@
|
||||||
* CHANGELOG.
|
* CHANGELOG.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
10012007 - More mingw32 fixes.
|
||||||
07122007 - Maybe fixed compile on mingw32.
|
07122007 - Maybe fixed compile on mingw32.
|
||||||
07112007 - Fixed crash on zero-byte read/write (thanks, Ensiform!).
|
07112007 - Fixed crash on zero-byte read/write (thanks, Ensiform!).
|
||||||
05272007 - FIXME removal: Replaced a strncpy() with a memcpy().
|
05272007 - FIXME removal: Replaced a strncpy() with a memcpy().
|
||||||
|
|
|
@ -26,10 +26,8 @@
|
||||||
|
|
||||||
#include "physfs_internal.h"
|
#include "physfs_internal.h"
|
||||||
|
|
||||||
#define LOWORDER_UINT64(pos) (PHYSFS_uint32) \
|
#define LOWORDER_UINT64(pos) ((PHYSFS_uint32) (pos & 0xFFFFFFFF))
|
||||||
(pos & 0x00000000FFFFFFFF)
|
#define HIGHORDER_UINT64(pos) ((PHYSFS_uint32) ((pos >> 32) & 0xFFFFFFFF))
|
||||||
#define HIGHORDER_UINT64(pos) (PHYSFS_uint32) \
|
|
||||||
(((pos & 0xFFFFFFFF00000000) >> 32) & 0x00000000FFFFFFFF)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Users without the platform SDK don't have this defined. The original docs
|
* Users without the platform SDK don't have this defined. The original docs
|
||||||
|
|
Loading…
Reference in New Issue