projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b8b542
)
change align_malloc() alignment to uint
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 11 Dec 2007 16:09:06 +0000
(09:09 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 11 Dec 2007 16:09:06 +0000
(09:09 -0700)
src/mesa/pipe/p_util.h
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/p_util.h
b/src/mesa/pipe/p_util.h
index 898459293eb1375ba668baaa35effe4df49c55d8..b4d1195c9b035ed0bba3f15765e427a9b73d87ea 100644
(file)
--- 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, u
nsigned long
alignment)
+align_malloc(size_t bytes, u
int
alignment)
{
#if defined(HAVE_POSIX_MEMALIGN)
void *mem;
-
(void) posix_memalign(& mem, alignment, bytes);
return mem;
#else