summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/os/os_memory.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-02-04 18:06:55 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-02-04 18:07:22 +0000
commit24ea02553efccc52581479819d8ead8d2bb06aaf (patch)
treeaafe891282289e92b58ac9c94a124e0d2295671b /src/gallium/auxiliary/os/os_memory.h
parent3aba0a28757e9b2a2f6a3f42fff955ccfd3fa4d4 (diff)
os/os_memory_aligned.h: fix memory allocation alignment for 64 bits
Based on Andreia Gaita <shana@jitted.com>'s patch.
Diffstat (limited to 'src/gallium/auxiliary/os/os_memory.h')
-rw-r--r--src/gallium/auxiliary/os/os_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/os/os_memory.h b/src/gallium/auxiliary/os/os_memory.h
index 704aa0762b..556662d35e 100644
--- a/src/gallium/auxiliary/os/os_memory.h
+++ b/src/gallium/auxiliary/os/os_memory.h
@@ -58,7 +58,7 @@ void *
os_realloc(void *ptr, size_t old_size, size_t new_size);
void *
-os_malloc_aligned(size_t size, uint alignment);
+os_malloc_aligned(size_t size, size_t alignment);
void
os_free_aligned(void *ptr);