summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-10-22 22:59:07 +0000
committerLennart Poettering <lennart@poettering.net>2003-10-22 22:59:07 +0000
commitf507edf2917fd39ba7d66eea0ff9b16c8d5ffa56 (patch)
tree8ae2cd6f85604c6b27532d9343c692e1ea671324 /src/util.c
parent52a7a526ac02a83952bff60fe25c3bbd967bb6f3 (diff)
some const fixes
git-svn-id: file:///home/lennart/svn/public/libnewmail/trunk@31 2d4e79f2-dfba-0310-a9f4-9628e67fcdf4
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
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);
}