From 8f508757404dd67f8e26d4befc290361cc34a4d5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 09:17:12 +0200 Subject: heap: fix an implicit cast warning. Michael --- src/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap.c b/src/heap.c index b0a0200..0e451a4 100644 --- a/src/heap.c +++ b/src/heap.c @@ -87,7 +87,7 @@ debugging_strdup (const char *s, const char *file, unsigned long line) assert (s != NULL); len = strlen (s) + 1; - ptr = malloc (len); + ptr = (char *)malloc (len); if (!ptr) return NULL; memcpy (ptr, s, len); -- cgit v1.2.3