summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/format-qt.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-11-06 20:15:10 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:19 +0200
commite86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f (patch)
tree160564919f1fea7fbfa5d4a5fcd294867012ca6a /gettext-tools/src/format-qt.c
parent9484d0c4feb9cc4efe47f69967b406e2b960596b (diff)
downloadexternal_gettext-e86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f.zip
external_gettext-e86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f.tar.gz
external_gettext-e86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f.tar.bz2
New macros XMALLOC, XNMALLOC.
Diffstat (limited to 'gettext-tools/src/format-qt.c')
-rw-r--r--gettext-tools/src/format-qt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/src/format-qt.c b/gettext-tools/src/format-qt.c
index aa51a93..67aad7a 100644
--- a/gettext-tools/src/format-qt.c
+++ b/gettext-tools/src/format-qt.c
@@ -83,7 +83,7 @@ format_parse (const char *format, bool translated, char **invalid_reason)
format++;
}
- result = (struct spec *) xmalloc (sizeof (struct spec));
+ result = XMALLOC (struct spec);
*result = spec;
return result;