Changed mixSDL_IntVal and TFBSound_IntVal to intptr_t because they must

be able to contain pointer to mixSDL_Buffer


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1080 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-07-21 17:57:19 +00:00
parent a41ee59220
commit 179c8cc54b
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -159,7 +159,7 @@ typedef enum
*/
typedef intptr_t mixSDL_Object;
typedef int mixSDL_IntVal;
typedef intptr_t mixSDL_IntVal;
typedef struct _mixSDL_Buffer
{
@@ -272,6 +272,8 @@ void mixSDL_BufferData (mixSDL_Object bufobj, uint32 format, void* data,
MIX_COMPILE_TIME_ASSERT (mixSDL_Object,
sizeof(mixSDL_Object) >= sizeof(void*));
MIX_COMPILE_TIME_ASSERT (mixSDL_IntVal,
sizeof(mixSDL_IntVal) >= sizeof(mixSDL_Object));
#undef MIX_COMPILE_TIME_ASSERT
+1 -1
View File
@@ -40,7 +40,7 @@
*/
typedef intptr_t TFBSound_Object;
typedef int TFBSound_IntVal;
typedef intptr_t TFBSound_IntVal;
typedef const int TFBSound_SourceProp;
typedef const int TFBSound_BufferProp;