diff src/stdlib/SDL_malloc.c @ 1456:84de7511f79f

Fixed a bunch of 64-bit compatibility problems
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Mar 2006 09:43:47 +0000
parents bb6839704ed6
children 8dfa9a6d69a5
line wrap: on
line diff
--- a/src/stdlib/SDL_malloc.c	Mon Feb 27 22:14:40 2006 +0000
+++ b/src/stdlib/SDL_malloc.c	Wed Mar 01 09:43:47 2006 +0000
@@ -1647,7 +1647,7 @@
 typedef struct malloc_chunk  mchunk;
 typedef struct malloc_chunk* mchunkptr;
 typedef struct malloc_chunk* sbinptr;  /* The type of bins of chunks */
-typedef unsigned int bindex_t;         /* Described below */
+typedef size_t bindex_t;               /* Described below */
 typedef unsigned int binmap_t;         /* Described below */
 typedef unsigned int flag_t;           /* The type of various bit flag sets */