* posix/fnmatch_loop.c (FCT): Remove signed warnings.

* posix/wordexp.c (do_parse_glob): Likewise. 
* sysdeps/posix/sigblock.c (__sigblock): Likewise. 
* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. 
* elf/dl-open.c (_dl_open): Likewise. 
* elf/dl-close.c (_dl_close): Likewise. 
* elf/dl-load.c (_dl_map_object): Likewise. 
* iconv/iconv_prog.c (process_fd): Likewise.
This commit is contained in:
Andreas Jaeger 2001-01-12 17:03:52 +00:00
parent 5ef50d00de
commit 2e47aff5ac
8 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/* Close a shared object opened by `_dl_open'.
Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -182,7 +182,7 @@ _dl_close (void *_map)
if (__builtin_expect (imap->l_global, 0))
{
/* This object is in the global scope list. Remove it. */
int cnt = _dl_main_searchlist->r_nlist;
unsigned int cnt = _dl_main_searchlist->r_nlist;
do
--cnt;

View File

@ -1604,7 +1604,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded,
if (l && __builtin_expect (l->l_flags_1 & DF_1_NODEFLIB, 0))
{
const char *dirp = system_dirs;
int cnt = 0;
unsigned int cnt = 0;
do
{

View File

@ -1,5 +1,5 @@
/* Load a shared object at runtime, relocate it, and run its initializer.
Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -397,7 +397,7 @@ _dl_open (const char *file, int mode, const void *caller)
state if relocation failed, for example. */
if (args.map)
{
int i;
unsigned int i;
/* Increment open counters for all objects since this has
not happened yet. */

View File

@ -462,7 +462,7 @@ process_fd (iconv_t cd, int fd, FILE *output)
while (actlen < maxlen)
{
size_t n = read (fd, inptr, maxlen - actlen);
ssize_t n = read (fd, inptr, maxlen - actlen);
if (n == 0)
/* No more text to read. */
@ -482,7 +482,7 @@ process_fd (iconv_t cd, int fd, FILE *output)
if (actlen == maxlen)
while (1)
{
size_t n;
ssize_t n;
/* Increase the buffer. */
maxlen += 32768;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991-1993, 1996-1999, 2000 Free Software Foundation, Inc.
/* Copyright (C) 1991-1993, 1996-2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This library is free software; you can redistribute it and/or
@ -438,7 +438,7 @@ FCT (pattern, string, no_leading_period, flags)
const int32_t *symb_table;
# ifdef WIDE_CHAR_VERSION
char str[c1];
int strcnt;
unsigned int strcnt;
# else
# define str (startp + 1)
# endif
@ -643,7 +643,7 @@ FCT (pattern, string, no_leading_period, flags)
const int32_t *symb_table;
# ifdef WIDE_CHAR_VERSION
char str[c1];
int strcnt;
unsigned int strcnt;
# else
# define str (startp + 1)
# endif

View File

@ -1,5 +1,5 @@
/* POSIX.2 wordexp implementation.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Tim Waugh <tim@cyberelk.demon.co.uk>.
@ -382,7 +382,7 @@ do_parse_glob (const char *glob_word, char **word, size_t *word_length,
const char *ifs_white)
{
int error;
int match;
unsigned int match;
glob_t globbuf;
error = glob (glob_word, GLOB_NOCHECK, NULL, &globbuf);

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
/* Copyright (C) 1991, 94, 95, 96, 97, 98, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -24,7 +24,7 @@ int
__sigblock (mask)
int mask;
{
register int sig;
register unsigned int sig;
sigset_t set, oset;
if (__sigemptyset (&set) < 0)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1991,1994,1995,1996,1997,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -23,7 +23,7 @@
int
__sigsetmask (int mask)
{
register int sig;
register unsigned int sig;
sigset_t set, oset;
if (__sigemptyset (&set) < 0)