improve type safety wrt unsignedness for java

Mike Stump mrs@apple.com
Sun Jul 25 20:31:00 GMT 2004


On Thursday, July 15, 2004, at 11:01  PM, Per Bothner wrote:
> I'd fix it instead by changing the declaration of which to
> unsigned HOST_WIDE_INT, and likewise the cast of one.

Ok.

> char vs unsigned char is a tougher and more annoying question.

:-(  If I lived in java, I suspect I would have a good idea of exactly 
how I would want it and would just change all of it to match.  As it 
is, I don't have a good sense of exactly what formulation I like and 
why...  so...  I've opted to do as little damage as possible.

The below is the patch set that I checked in...

Thanks.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: java-un-a.diff.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040725/5030bc33/attachment.txt>


More information about the Java-patches mailing list