[syslinux] isohybrid.c:409: warning: cast from pointer to integer of different size

Geert Stappers stappers at stappers.nl
Mon May 3 13:10:11 PDT 2010


Op 20100503 om 23:16 schreef P J P:
> --- On Mon, 3/5/10, Geert Stappers <stappers at stappers.nl> wrote:
>> 
>> | isohybrid.c: In function 'display_mbr':
>> | isohybrid.c:409: warning: cast from pointer to integer of different size
>> 
>> What should be done to avoid that warning?
> 
> I'm trying to fix the warning message, I don't get that when I
> compile. What $CFLAGS do you use? I've it set to
> 
>   CFLAGS=-g -O2 -Wall -Wextra -Xlinker -s
> 

$ make
gcc -Wp,-MT,isohybrid,-MMD,./.isohybrid.d  -o isohybrid isohybrid.c isohdpfx.c
isohybrid.c: In function display_mbr:
isohybrid.c:409: warning: cast from pointer to integer of different size
$ gcc -o isohybrid isohybrid.c isohdpfx.c
isohybrid.c: In function display_mbr:
isohybrid.c:409: warning: cast from pointer to integer of different size
$ gcc --version
gcc (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Groeten
Geert Stappers

P.S.
Replying in the right thread increases the chance
that the subject line matched the message body.




More information about the Syslinux mailing list