From 23ca30e24bbc8390127910c64da4a321ae63ce3a Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 11 Dec 2007 09:09:06 -0700 Subject: change align_malloc() alignment to uint --- src/mesa/pipe/p_util.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h index 898459293eb..b4d1195c9b0 100644 --- a/src/mesa/pipe/p_util.h +++ b/src/mesa/pipe/p_util.h @@ -117,11 +117,10 @@ REALLOC( void *old_ptr, unsigned old_size, unsigned new_size ) * Return memory on given byte alignment */ static INLINE void * -align_malloc(size_t bytes, unsigned long alignment) +align_malloc(size_t bytes, uint alignment) { #if defined(HAVE_POSIX_MEMALIGN) void *mem; - (void) posix_memalign(& mem, alignment, bytes); return mem; #else -- cgit v1.2.3