Removed a parenthesis which had jumped in involuntarily
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1128 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c505627f53
commit
bbe7fb5430
@ -431,7 +431,7 @@ BMallocIO::_Resize(off_t size)
|
||||
size_t newSize = (size + fBlockSize - 1) / fBlockSize * fBlockSize;
|
||||
if (newSize != fMallocSize) {
|
||||
// we need to resize
|
||||
if (char *newData = (char*)(realloc(fData, newSize)) {
|
||||
if (char *newData = (char*)realloc(fData, newSize)) {
|
||||
// set the new area to 0
|
||||
if (fMallocSize < newSize)
|
||||
memset(newData + fMallocSize, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user