diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 09:17:12 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 09:17:12 +0200 |
commit | 8f508757404dd67f8e26d4befc290361cc34a4d5 (patch) | |
tree | 0733ea5442f994d2982af7a152d6f5b6077d0941 | |
parent | ab9e8a59e294c80ee9d4c718a351cf85dcccdbde (diff) |
heap: fix an implicit cast warning.
Michael
-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); |