Skip to content
Browse files
-Made type cast changes that Ryan needs to approve.
-MSVC complained about 64-bit to 32-bit implicit conversions.
-Added Win32 specific #defines for 64-bit datatypes.
  • Loading branch information
readgs committed Apr 3, 2002
1 parent fc5f855 commit 5d5f15ca9aaba770a6a72e299ffacb241c56811b

File 2 of 2 in 5d5f15c

@@ -129,6 +129,10 @@

#ifdef _WIN32
#include <windows.h>

#ifdef __cplusplus
extern "C" {
@@ -151,6 +155,10 @@ typedef signed int PHYSFS_sint32;
#ifdef PHYSFS_NO_64BIT_SUPPORT /* oh well. */
typedef PHYSFS_uint32 PHYSFS_uint64;
typedef PHYSFS_sint32 PHYSFS_sint64;
#elif _WIN32
/*!!! No 64-bit unsigned in Win32???? */
typedef LONGLONG PHYSFS_sint64;
typedef LONGLONG PHYSFS_uint64;
typedef unsigned long long PHYSFS_uint64;
typedef signed long long PHYSFS_sint64;

0 comments on commit 5d5f15c

Please sign in to comment.