]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a warning on OSF/1.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Sep 2003 13:49:07 +0000 (13:49 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:58 +0000 (12:10 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/read-properties.c

index b6a34fcd99cded33b6765276abe6fb475dc8cfd3..a8787dcd2b567b33424ca8b3a7a1714872a2c043 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-09  Bruno Haible  <bruno@clisp.org>
+
+       * read-properties.c (phase4_getuc): Cast line_number to 'unsigned long'
+       before outputting it.
+
 2003-09-09  Bruno Haible  <bruno@clisp.org>
 
        * po-lex.c: Test HAVE_DECL_GETC_UNLOCKED instead of HAVE_GETC_UNLOCKED.
index b56bff5d20904426737ecba37962c6c44700d4b9..3b94fa21597eebea5f041b5cd83976a2758e0522 100644 (file)
@@ -212,8 +212,8 @@ phase4_getuc ()
                {
                  phase3_ungetc (c1);
                  error_with_progname = false;
-                 error (0, 0, _("%s:%d: warning: invalid \\uxxxx syntax for Unicode character"),
-                        real_file_name, gram_pos.line_number);
+                 error (0, 0, _("%s:%lu: warning: invalid \\uxxxx syntax for Unicode character"),
+                        real_file_name, (unsigned long) gram_pos.line_number);
                  error_with_progname = true;
                  return 'u';
                }