summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-27 07:25:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-27 07:25:30 +0000
commit5f482edaf3f218f34cdbabdd859778376012696f (patch)
tree9305766960ad91b2fd641953ec145770b714b693
parent63ab180d3ce28218cb505a78ff886fcb23c62680 (diff)
downloadrockbox-5f482edaf3f218f34cdbabdd859778376012696f.tar.gz
rockbox-5f482edaf3f218f34cdbabdd859778376012696f.zip
realloc takes a void * as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@722 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/malloc/dmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/malloc/dmalloc.c b/firmware/malloc/dmalloc.c
index 28215563dc..66983a1a7f 100644
--- a/firmware/malloc/dmalloc.c
+++ b/firmware/malloc/dmalloc.c
@@ -551,7 +551,7 @@ void free(void *memp)
551 * 551 *
552 **************************************************************************/ 552 **************************************************************************/
553 553
554void *realloc(char *ptr, size_t size) 554void *realloc(void *ptr, size_t size)
555{ 555{
556 struct MemInfo *meminfo = (struct MemInfo *) 556 struct MemInfo *meminfo = (struct MemInfo *)
557 ((char *)ptr- sizeof(struct MemInfo)); 557 ((char *)ptr- sizeof(struct MemInfo));