summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/read-stringtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/src/read-stringtable.c')
-rw-r--r--gettext-tools/src/read-stringtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/src/read-stringtable.c b/gettext-tools/src/read-stringtable.c
index c1cb646..a2dd54c 100644
--- a/gettext-tools/src/read-stringtable.c
+++ b/gettext-tools/src/read-stringtable.c
@@ -336,7 +336,7 @@ conv_from_ucs4 (const int *buffer, size_t buflen)
unsigned char *q;
/* Each UCS-4 word needs 6 bytes at worst. */
- utf8_string = (unsigned char *) xmalloc (6 * buflen + 1);
+ utf8_string = XNMALLOC (6 * buflen + 1, unsigned char);
for (pos = 0, q = utf8_string; pos < buflen; )
{