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

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to