aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/awk.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/one-true-awk/awk.h')
-rw-r--r--contrib/one-true-awk/awk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/one-true-awk/awk.h b/contrib/one-true-awk/awk.h
index 2ff50240fe0b..a36cdb151e75 100644
--- a/contrib/one-true-awk/awk.h
+++ b/contrib/one-true-awk/awk.h
@@ -30,7 +30,7 @@ typedef double Awkfloat;
typedef unsigned char uschar;
-#define xfree(a) { if ((a) != NULL) { free((char *) a); a = NULL; } }
+#define xfree(a) { if ((a) != NULL) { free((void *) (a)); (a) = NULL; } }
#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf
*/