Hi John, On Thu, 2008-12-04 at 10:53 -0800, John Coomes wrote: > > > 32-bit systems are unaffected (not sure why). > > > > It's a bug. The code is basically this: > > ... > > This is http://bugs.sun.com/view_bug.do?bug_id=6679422. FWIW, the > trivial fix is in jdk7: > > http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/092ea87cc974
In the icedtea-signed-types.patch (part of the PPC work for zero and cacao from Gary and Christian [1]) the fix is to cast it to (in_addr_t), which seems slightly cleaner to me since you already have that as typedef. Cheers, Mark [1] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2007-November/000562.html