1999-06-18  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
	assignment to avoid warning on 64bit platforms.
This commit is contained in:
Ulrich Drepper 1999-06-18 18:06:00 +00:00
parent db95bdbce0
commit 8432c71ab7
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
1999-06-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
assignment to avoid warning on 64bit platforms.
1999-06-17 Ulrich Drepper <drepper@cygnus.com> 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
* libio/libio.h (_IO_codecvt): Change __P ot __PMT. * libio/libio.h (_IO_codecvt): Change __P ot __PMT.

View file

@ -13,7 +13,7 @@ if test -n "$sysheaders"; then
fi fi
echo $ac_n "checking installed Linux kernel header files""... $ac_c" 1>&6 echo $ac_n "checking installed Linux kernel header files""... $ac_c" 1>&6
echo "configure:16: checking installed Linux kernel header files" >&5 echo "configure:16: checking installed Linux kernel header files" >&5
if eval "test \"`echo '$''{'libc_cv_linux2010'+set}'`\" = set"; then if eval "test \"\${libc_cv_linux2010+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF

View file

@ -1,5 +1,5 @@
/* Prepare arguments for library initialization function. /* Prepare arguments for library initialization function.
Copyright (C) 1997 Free Software Foundation, Inc. Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -35,13 +35,13 @@ void NAME (void *arg) \
\ \
if (!__libc_multiple_libcs) \ if (!__libc_multiple_libcs) \
{ \ { \
argc = (int) arg; \ argc = (int) (long int) arg; \
argv = (char **) &arg + 1; \ argv = (char **) &arg + 1; \
envp = &argv[argc+1]; \ envp = &argv[argc+1]; \
} \ } \
else \ else \
{ \ { \
argc = (int) arg; \ argc = (int) (long int) arg; \
argv = ((char ***) &arg)[1]; \ argv = ((char ***) &arg)[1]; \
envp = ((char ***) &arg)[2]; \ envp = ((char ***) &arg)[2]; \
} \ } \