]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid warnings on 64-bit systems.
authorBruno Haible <bruno@clisp.org>
Fri, 9 Jun 2006 20:29:22 +0000 (20:29 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:22 +0000 (12:13 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/xgettext.c

index 2c3ba88fa4d0d18752388080812b356249ee14a9..1540793c23f56927a3f725a8fd2c96c879550785 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-04  Bruno Haible  <bruno@clisp.org>
+
+       * xgettext.c (arglist_parser_done): Cast length argument for format
+       string.
+
 2006-05-31  Bruno Haible  <bruno@clisp.org>
 
        * x-ycp.c (phase5_pushback, phase5_pushback_length): New variables.
index eef90753bc78c0bc3a87c8d896543bcd2195a4d9..531fd3790a25890cd6db1d6af1d6abf9d9ee2e2c 100644 (file)
@@ -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