32-bit compile warning

Alex Chiang achiang at hp.com
Thu Apr 3 16:14:08 PDT 2008


* Brandon Philips <brandon at ifup.org>:
> Hello-
> 
> I am unsure of how to fix up the casting to make GCC quiet on this one.
> 
> CC [M]  /home/philips/projects/crfs/lk/super.o
>   /home/philips/projects/crfs/lk/super.c: In function ???crfs_fill_super???:
>   /home/philips/projects/crfs/lk/super.c:113: warning: cast to pointer from integer of different size

Hrm, that looks a little scary. Casting a 64 bit pointer to a 32
bit value?

/ac




More information about the crfs-devel mailing list