diff options
author | Andrey Nazarov <skuller@skuller.net> | 2009-10-30 08:42:35 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2009-10-30 08:42:35 +0000 |
commit | 43fd375826fb82600a5d687425e4ad8431ec4e73 (patch) | |
tree | 5200277869bf3dd00d7cca4a75f3f878fd377f6a /source/sys_win.c | |
parent | e457a459c4ba86d1f378e75af4f119c1ec94c064 (diff) |
Assume 64 byte cachelines when doing Hunk_Alloc.
Diffstat (limited to 'source/sys_win.c')
-rw-r--r-- | source/sys_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sys_win.c b/source/sys_win.c index 85cf9f8..1980827 100644 --- a/source/sys_win.c +++ b/source/sys_win.c @@ -539,7 +539,7 @@ void *Hunk_Alloc( mempool_t *pool, size_t size ) { void *buf; // round to cacheline - size = ( size + 31 ) & ~ 31; + size = ( size + 63 ) & ~63; pool->cursize += size; if( pool->cursize > pool->maxsize ) |