summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/execmem.c4
-rw-r--r--src/mesa/main/execmem.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index 3b08f42a3dd..37a043a0b3a 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -90,7 +90,7 @@ init_heap(void)
void *
-_mesa_exec_malloc(GLuint size)
+_mesa_exec_malloc(unsigned size)
{
struct mem_block *block = NULL;
void *addr = NULL;
@@ -140,7 +140,7 @@ _mesa_exec_free(void *addr)
*/
void *
-_mesa_exec_malloc(GLuint size)
+_mesa_exec_malloc(unsigned size)
{
return malloc( size );
}
diff --git a/src/mesa/main/execmem.h b/src/mesa/main/execmem.h
index bc51a8c8411..f9479b96379 100644
--- a/src/mesa/main/execmem.h
+++ b/src/mesa/main/execmem.h
@@ -28,7 +28,7 @@
extern void *
-_mesa_exec_malloc(GLuint size);
+_mesa_exec_malloc(unsigned size);
extern void
_mesa_exec_free(void *addr);