From 06dc514aa1c11216171cc2372489ce8d220d7116 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 7 Sep 1996 20:01:38 +0000 Subject: [PATCH] ([Storage -initCount:elementSize:description:]): In accordance with Objective C runtime change, use objc_malloc as a function, not a function pointer. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1721 72102866-910b-0410-8b05-ffd578937521 --- Source/Storage.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Storage.m b/Source/Storage.m index b162d8289..c14f38916 100644 --- a/Source/Storage.m +++ b/Source/Storage.m @@ -73,7 +73,7 @@ typedef struct { maxElements = (numSlots > 0) ? numSlots : 1; elementSize = sizeInBytes; description = elemDesc; - dataPtr = (void*) (*objc_malloc)(maxElements * elementSize); + dataPtr = (void*) objc_malloc (maxElements * elementSize); bzero(dataPtr, numElements * elementSize); return self; }