Changed mixSDL_Object and TFBSound_Object to be intptr_t for 64bit compatibility (bug #252)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1075 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-07-21 02:07:07 +00:00
parent e450085a0b
commit 3533b5329a
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -23,6 +23,12 @@
#include "types.h"
#include "SDL_byteorder.h"
#ifdef _MSC_VER
# include <stddef.h>
#else
# include <stdint.h>
#endif
/**
* The interface heavily influenced by OpenAL
* to the point where you should use OpenAL's
@@ -158,7 +164,7 @@ typedef enum
* Interface Types
*/
typedef unsigned int mixSDL_Object;
typedef intptr_t mixSDL_Object;
typedef int mixSDL_IntVal;
typedef struct _mixSDL_Buffer
+1 -1
View File
@@ -39,7 +39,7 @@
* Interface Types
*/
typedef unsigned int TFBSound_Object;
typedef intptr_t TFBSound_Object;
typedef int TFBSound_IntVal;
typedef const int TFBSound_SourceProp;
typedef const int TFBSound_BufferProp;