From: Bruno Haible Date: Fri, 9 Jun 2006 20:29:22 +0000 (+0000) Subject: Avoid warnings on 64-bit systems. X-Git-Tag: v0.15~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5bd96588f81000fd2ba2ee32e43e3b3e8b0f74;p=thirdparty%2Fgettext.git Avoid warnings on 64-bit systems. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 2c3ba88fa..1540793c2 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2006-06-04 Bruno Haible + + * xgettext.c (arglist_parser_done): Cast length argument for format + string. + 2006-05-31 Bruno Haible * x-ycp.c (phase5_pushback, phase5_pushback_length): New variables. diff --git a/gettext-tools/src/xgettext.c b/gettext-tools/src/xgettext.c index eef90753b..531fd3790 100644 --- a/gettext-tools/src/xgettext.c +++ b/gettext-tools/src/xgettext.c @@ -2619,7 +2619,7 @@ arglist_parser_done (struct arglist_parser *ap, int argnum) best_cp->msgid_pos.file_name, best_cp->msgid_pos.line_number, _("ambiguous argument specification for keyword '%.*s'"), - ap->keyword_len, ap->keyword); + (int) ap->keyword_len, ap->keyword); error_with_progname = true; } @@ -2646,7 +2646,7 @@ arglist_parser_done (struct arglist_parser *ap, int argnum) best_cp->msgid_pos.file_name, best_cp->msgid_pos.line_number, _("warning: missing context for keyword '%.*s'"), - ap->keyword_len, ap->keyword); + (int) ap->keyword_len, ap->keyword); error_with_progname = true; } else @@ -2671,7 +2671,7 @@ arglist_parser_done (struct arglist_parser *ap, int argnum) best_cp->msgid_plural_pos.file_name, best_cp->msgid_plural_pos.line_number, _("warning: missing context for plural argument of keyword '%.*s'"), - ap->keyword_len, ap->keyword); + (int) ap->keyword_len, ap->keyword); error_with_progname = true; } else