From bbe7fb5430d4af7494963c02110f460e67257f7b Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 23 Sep 2002 12:02:28 +0000 Subject: [PATCH] Removed a parenthesis which had jumped in involuntarily git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1128 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/support/DataIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/support/DataIO.cpp b/src/kits/support/DataIO.cpp index 888402a157..61dd3f8adf 100644 --- a/src/kits/support/DataIO.cpp +++ b/src/kits/support/DataIO.cpp @@ -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,