diff options
Diffstat (limited to 'src/game/bg_alloc.c')
-rw-r--r-- | src/game/bg_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_alloc.c b/src/game/bg_alloc.c index b145c62e..6bf4eb63 100644 --- a/src/game/bg_alloc.c +++ b/src/game/bg_alloc.c @@ -54,7 +54,7 @@ void *BG_Alloc( int size ) char *endptr; int *ptr; - allocsize = ( size + sizeof(int) + ROUNDBITS ) & ~ROUNDBITS; // Round to 32-byte boundary + allocsize = ( size + (int)sizeof(int) + ROUNDBITS ) & ~ROUNDBITS; // Round to 32-byte boundary ptr = NULL; smallest = NULL; |