diff options
Diffstat (limited to 'gettext-tools/src/format-pascal.c')
-rw-r--r-- | gettext-tools/src/format-pascal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/src/format-pascal.c b/gettext-tools/src/format-pascal.c index 1d0996a..0857aa4 100644 --- a/gettext-tools/src/format-pascal.c +++ b/gettext-tools/src/format-pascal.c @@ -328,7 +328,7 @@ format_parse (const char *format, bool translated, char **invalid_reason) goto bad_format; } - result = (struct spec *) xmalloc (sizeof (struct spec)); + result = XMALLOC (struct spec); result->directives = directives; result->numbered_arg_count = numbered_arg_count; result->allocated = allocated; |