summaryrefslogtreecommitdiff
path: root/source/sys_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r--source/sys_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c
index f03fd80..c2a5eab 100644
--- a/source/sys_unix.c
+++ b/source/sys_unix.c
@@ -417,7 +417,7 @@ void *Hunk_Alloc( mempool_t *pool, size_t size ) {
void *buf;
// round to cacheline
- size = ( size + 31 ) & ~31;
+ size = ( size + 63 ) & ~63;
if( pool->cursize + size > pool->maxsize ) {
Com_Error( ERR_FATAL, "%s: unable to allocate %"PRIz" bytes out of %"PRIz,
__func__, size, pool->maxsize );