diff options
Diffstat (limited to 'src/mem5.c')
-rw-r--r-- | src/mem5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem5.c b/src/mem5.c index 6bb24e544..b34a04e8b 100644 --- a/src/mem5.c +++ b/src/mem5.c @@ -241,7 +241,7 @@ static void *memsys5MallocUnsafe(int nByte){ } /* Round nByte up to the next valid power of two */ - for(iFullSz=mem5.szAtom, iLogsize=0; iFullSz<nByte; iFullSz *= 2, iLogsize++){} + for(iFullSz=mem5.szAtom,iLogsize=0; iFullSz<nByte; iFullSz*=2,iLogsize++){} /* Make sure mem5.aiFreelist[iLogsize] contains at least one free ** block. If not, then split a block of the next larger power of |