aboutsummaryrefslogtreecommitdiffstats
path: root/rfc2047e.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2047e.c')
-rw-r--r--rfc2047e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc2047e.c b/rfc2047e.c
index 922fe7a9..fd6ae2bc 100644
--- a/rfc2047e.c
+++ b/rfc2047e.c
@@ -104,7 +104,7 @@ char *rfc2047e(const char *string, const char *charset) {
count++;
r += strspn(r, ws);
}
- words = xmalloc(sizeof(char *) * (count + 1));
+ words = (char **)xmalloc(sizeof(char *) * (count + 1));
idx = 0;
r = string;