diff options
Diffstat (limited to '')
-rw-r--r-- | src/heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |