aboutsummaryrefslogtreecommitdiff
path: root/catgets
diff options
context:
space:
mode:
Diffstat (limited to 'catgets')
-rw-r--r--catgets/gencat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/catgets/gencat.c b/catgets/gencat.c
index 4b6eb43255..4dca43a5c8 100644
--- a/catgets/gencat.c
+++ b/catgets/gencat.c
@@ -803,7 +803,7 @@ write_out (struct catalog *catalog, const char *output_name,
/* If the current message set has a symbolic name write this
out first. */
if (set_run->symbol != NULL)
- fprintf (fp, "%s#define %sSet %#x\t/* %s:%u */\n",
+ fprintf (fp, "%s#define %sSet %#x\t/* %s:%Zu */\n",
first ? "" : "\n", set_run->symbol, set_run->number - 1,
set_run->fname, set_run->line);
first = 0;
@@ -816,12 +816,12 @@ write_out (struct catalog *catalog, const char *output_name,
not having a symbolic name. */
if (message_run->symbol != NULL)
if (set_run->symbol == NULL)
- fprintf (fp, "#define AutomaticSet%d%s %#x\t/* %s:%u */\n",
+ fprintf (fp, "#define AutomaticSet%d%s %#x\t/* %s:%Zu */\n",
set_run->number, message_run->symbol,
message_run->number, message_run->fname,
message_run->line);
else
- fprintf (fp, "#define %s%s %#x\t/* %s:%u */\n",
+ fprintf (fp, "#define %s%s %#x\t/* %s:%Zu */\n",
set_run->symbol, message_run->symbol,
message_run->number, message_run->fname,
message_run->line);