[kaffe] CVS kaffe (robilad): Warning fixes for kaffe-qt-awt on x86_64-linux

Dalibor Topic robilad at kaffe.org
Fri Sep 16 16:07:04 PDT 2005


Gwenole Beauchesne wrote:
> Hi,
> 
> 
>>-  a.setRawData((const char*)((int)jb + off), len);
>>+  a.setRawData((const char*)((long)jb + off), len);
> 
> 
> Avoid (long) if you want a chance to make it work on non LP64 64-bit 
> platforms (e.g. LLP64 from Win64) but I personnally don't care of the 
> latter.
> 
> e.g. uintptr_t or any Kaffe-provided equivalent.

Thanks for the hint, Gwenole. I've changed it to use uintptr_t and added 
an include for config-int.h.

cheers,
dalibor topic




More information about the kaffe mailing list