From: Bruno Haible Date: Tue, 9 Sep 2003 13:49:07 +0000 (+0000) Subject: Avoid a warning on OSF/1. X-Git-Tag: v0.13~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880bfd1a0b64e4f058635b345214d697870c0312;p=thirdparty%2Fgettext.git Avoid a warning on OSF/1. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index b6a34fcd9..a8787dcd2 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2003-09-09 Bruno Haible + + * read-properties.c (phase4_getuc): Cast line_number to 'unsigned long' + before outputting it. + 2003-09-09 Bruno Haible * po-lex.c: Test HAVE_DECL_GETC_UNLOCKED instead of HAVE_GETC_UNLOCKED. diff --git a/gettext-tools/src/read-properties.c b/gettext-tools/src/read-properties.c index b56bff5d2..3b94fa215 100644 --- a/gettext-tools/src/read-properties.c +++ b/gettext-tools/src/read-properties.c @@ -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'; }