+2002-01-19 Bruno Haible <bruno@clisp.org>
+
+ * open-po.c (open_po_file): Use 'size_t' instead of 'int'.
+ * x-java.l (translate_esc): Likewise.
+ * read-mo.c (read_mo_file): Use 'unsigned int' instead of 'int'.
+
2002-01-13 Bruno Haible <bruno@clisp.org>
* msgl-iconv.c (iconv_message_list): Don't complain by a nonportable
/* open-po - search for .po file along search path list and open for reading
- Copyright (C) 1995-1996, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-1996, 2000-2002 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
This program is free software; you can redistribute it and/or modify
static const char *extension[] = { "", ".po", ".pot", };
char *file_name;
FILE *ret_val;
- int j, k;
+ int j;
+ size_t k;
const char *dir;
if (strcmp (input_name, "-") == 0 || strcmp (input_name, "/dev/stdin") == 0)
/* Reading binary .mo files.
- Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
This program is free software; you can redistribute it and/or modify
{
FILE *fp;
struct mo_file_header header;
- int j;
+ unsigned int j;
if (strcmp (fn, "-") == 0 || strcmp (fn, "/dev/stdin") == 0)
{
char *s;
{
char *n = (char *) xmalloc (strlen (s) + 1);
- int i;
- int j = 0;
+ size_t i;
+ size_t j = 0;
for (i = 0; i < strlen (s); i++)
switch (s[i])