]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update copyright year.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2001 16:04:55 +0000 (16:04 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2001 16:04:55 +0000 (16:04 +0000)
Avoid compiler warnings.

src/msgfmt.c
src/msgmerge.c

index 397da9903fd20e8fb4ad3fc30d9bb2c4e2aec9be..675efd9588617afcd7cc032d513b27d6292a8dc8 100644 (file)
@@ -271,7 +271,7 @@ main (argc, argv)
 This is free software; see the source for copying conditions.  There is NO\n\
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
 "),
-             "1995, 1996, 1997, 1998");
+             "1995-1998, 2000, 2001");
       printf (_("Written by %s.\n"), "Ulrich Drepper");
       exit (EXIT_SUCCESS);
     }
@@ -468,7 +468,7 @@ format_debrief (that)
   if (verbose_level > 0 && this->has_header_entry == 0)
     error (0, 0, _("%s: warning: PO file header missing, fuzzy, or invalid\n\
 %*s  warning: charset conversion will not work"),
-          gram_pos.file_name, strlen (gram_pos.file_name), "");
+          gram_pos.file_name, (int) strlen (gram_pos.file_name), "");
 }
 
 
@@ -1002,7 +1002,8 @@ number of format specifications in `msgid' and `msgstr' does not match"));
              {
                error_at_line (0, 0, msgid_pos->file_name,
                               msgid_pos->line_number, _("\
-format specifications for argument %u are not the same"), cnt);
+format specifications for argument %lu are not the same"),
+                              (unsigned long) cnt);
                exit_status = EXIT_FAILURE;
              }
        }
index b2be1cb8f1b248ff089ff37db81d549300aca506..1d56ff154dfb66da1294a8a00d7a083766f9548b 100644 (file)
@@ -256,7 +256,7 @@ main (argc, argv)
 This is free software; see the source for copying conditions.  There is NO\n\
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
 "),
-             "1995, 1996, 1997, 1998");
+             "1995-1998, 2000, 2001");
       printf (_("Written by %s.\n"), "Peter Miller");
       exit (EXIT_SUCCESS);
     }
@@ -797,10 +797,11 @@ this message is used but not defined in %s"), fn1);
   /* Report some statistics.  */
   if (verbosity_level > 0)
     fprintf (stderr, _("%s\
-Read %d old + %d reference, \
-merged %d, fuzzied %d, missing %d, obsolete %d.\n"),
+Read %ld old + %ld reference, \
+merged %ld, fuzzied %ld, missing %ld, obsolete %ld.\n"),
             !quiet && verbosity_level <= 1 ? "\n" : "",
-            def->nitems, ref->nitems, merged, fuzzied, missing, obsolete);
+            (long) def->nitems, (long) ref->nitems,
+            (long) merged, (long) fuzzied, (long) missing, (long) obsolete);
   else if (!quiet)
     fputs (_(" done.\n"), stderr);