diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-03-06 04:51:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-03-06 04:51:37 +0000 |
commit | 3cc4a09733deb0e9313f820e148ada9a3007e6b0 (patch) | |
tree | 1a078e7f4a335f0c559cbc44317348ae611ae515 /sysdeps/gnu/errlist.c | |
parent | 103f1eb02d919d6df0a5d2d29cb58e403bf2a10a (diff) | |
download | glibc-3cc4a09733deb0e9313f820e148ada9a3007e6b0.tar.gz glibc-3cc4a09733deb0e9313f820e148ada9a3007e6b0.tar.xz glibc-3cc4a09733deb0e9313f820e148ada9a3007e6b0.zip |
* wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
* sysdeps/generic/strchrnul.c: Add cast to avoid warning. * libio/iofwide.c: Add casts to avoid warnings. * stdio-common/printf-prs.c (parse_printf_format): Introduce new variable f to avoid warnings. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Fix a few casts to avoid warnings. * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned to avoid warning.
Diffstat (limited to 'sysdeps/gnu/errlist.c')
-rw-r--r-- | sysdeps/gnu/errlist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 9ae6ec3c1d..1508311a4a 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -1410,8 +1410,9 @@ TRANS error; @pxref{Cancel AIO Operations}. */ #endif }; -const int _sys_nerr_internal - = sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0]; +#define NERR \ + (sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0]) +const int _sys_nerr_internal = NERR; #if !defined NOT_IN_libc && !ERRLIST_NO_COMPAT # include <errlist-compat.c> |