summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm/rtasm_execmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/rtasm/rtasm_execmem.c')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_execmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
index 9c78fa56269..300c1c2d9d7 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_execmem.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
@@ -33,6 +33,7 @@
#include "pipe/p_compiler.h"
#include "pipe/p_debug.h"
#include "pipe/p_thread.h"
+#include "pipe/p_util.h"
#include "rtasm_execmem.h"
@@ -118,7 +119,7 @@ rtasm_exec_free(void *addr)
*/
void *
-rtasm_exec_malloc(GLuint size)
+rtasm_exec_malloc(size_t size)
{
return MALLOC( size );
}