summaryrefslogtreecommitdiffstats
path: root/src/msgunfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msgunfmt.c')
-rw-r--r--src/msgunfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msgunfmt.c b/src/msgunfmt.c
index 860aeef..cd52c85 100644
--- a/src/msgunfmt.c
+++ b/src/msgunfmt.c
@@ -347,7 +347,7 @@ string32 (fp, fn, offset, lengthp)
/* Allocate memory for the string to be read into. Leave space for
the NUL on the end. */
- buffer = xmalloc (length + 1);
+ buffer = (char *) xmalloc (length + 1);
/* Read in the string. Complain if there is an error or it comes up
short. Add the NUL ourselves. */