From f507edf2917fd39ba7d66eea0ff9b16c8d5ffa56 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 22 Oct 2003 22:59:07 +0000 Subject: some const fixes git-svn-id: file:///home/lennart/svn/public/libnewmail/trunk@31 2d4e79f2-dfba-0310-a9f4-9628e67fcdf4 --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index f3eeae1..f8ff05e 100644 --- a/src/util.c +++ b/src/util.c @@ -95,7 +95,7 @@ char *nm_strdup(const char *s) { void nm_error(enum nm_error en, const char* exp) { nm_errno = en | (exp ? NM_ERROR_EXPLANATION : 0); if (nm_explanation) - nm_free(nm_explanation); + nm_free((void*) nm_explanation); nm_explanation = nm_strdup(exp); } -- cgit