ffi_type_ulong and ffi_type_slong incorrectly defined
Torsten Schoenfeld
kaffeetisch@gmx.de
Mon Jul 24 20:52:00 GMT 2006
Aloha,
on some platforms (well, mine at least), the long types are incorrectly
defined and unusable. The problem is that they are unconditionally
defined to be ffi_type_uint64 and ffi_type_sint64 respectively. But
that's apparently too big for my longs.
I attach a patch that seems to fix the problem for me, plus a test case
that fails without the patch and passes with the patch.
--
Bye,
-Torsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffi-unsigned-long.patch
Type: text/x-patch
Size: 2114 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060724/f692fcd2/attachment.bin>
More information about the Java-patches
mailing list