This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] sim/sh: Fix compile warnings for 64-bit build hosts


On Wednesday 15 February 2012 19:26:22 Kevin Buettner wrote:
> Any comments on the following patch?

uintptr_t i think would be better, but we don't seem to use that in sim/, so 
this is OK

> It fixes a bunch of warnings when building on a 64-bit host.  Here
> are a few of them:
> 
> ./code.c:93: warning: cast from pointer to integer of different size
> ./code.c:215: warning: cast from pointer to integer of different size
> ./code.c:230: warning: cast from pointer to integer of different size

makes me think that this sim is incorrectly mixing target and host types
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]