This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix a warning from unwind-ia64.c
ja2morri@csclub.uwaterloo.ca (James Morrison) writes:
> Hi,
>
> All the uses of emergency_reg_state_free are as an unsigned int. This
> patch actually makes it an unsigned int and removes the warning:
> /home/jim/gcc/gcc/gcc/config/ia64/unwind-ia64.c: In function 'alloc_reg_state':
> /home/jim/gcc/gcc/gcc/config/ia64/unwind-ia64.c:312: warning: pointer targets in passing argument 1 of 'atomic_alloc' differ in signedness
>
> Bootstrapped and regtested on ia64-linux-gnu, ok for mainline?
>
> Jim
>
> 2005-04-08 James A. Morrison <phython@gcc.gnu.org>
>
> * config/ia64/unwind-ia64.c (emergency_reg_state_free): Make an
> unsigned int.
PING: http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00868.html
--
Thanks,
Jim
http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim