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