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:
@@ -23,6 +23,12 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "SDL_byteorder.h"
|
#include "SDL_byteorder.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
# include <stddef.h>
|
||||||
|
#else
|
||||||
|
# include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The interface heavily influenced by OpenAL
|
* The interface heavily influenced by OpenAL
|
||||||
* to the point where you should use OpenAL's
|
* to the point where you should use OpenAL's
|
||||||
@@ -158,7 +164,7 @@ typedef enum
|
|||||||
* Interface Types
|
* Interface Types
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef unsigned int mixSDL_Object;
|
typedef intptr_t mixSDL_Object;
|
||||||
typedef int mixSDL_IntVal;
|
typedef int mixSDL_IntVal;
|
||||||
|
|
||||||
typedef struct _mixSDL_Buffer
|
typedef struct _mixSDL_Buffer
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
* Interface Types
|
* Interface Types
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef unsigned int TFBSound_Object;
|
typedef intptr_t TFBSound_Object;
|
||||||
typedef int TFBSound_IntVal;
|
typedef int TFBSound_IntVal;
|
||||||
typedef const int TFBSound_SourceProp;
|
typedef const int TFBSound_SourceProp;
|
||||||
typedef const int TFBSound_BufferProp;
|
typedef const int TFBSound_BufferProp;
|
||||||
|
|||||||
Reference in New Issue
Block a user