Hi Archie,

--- Archie Cobbs <[EMAIL PROTECTED]> wrote:

> Clearly, whatever function you use can't return have
> return type
> "byte", because if it did the upper 24 bits of the
> result will
> always be 1 due to sign-extension from integral
> promotion.
> 
> Alternately, add "& 0xff" to all the read*()
> function calls.

yeah, you're right. The spec explicitely says to use
&0xff. Funny enough, that's what readUnsignedByte
already does. But readUnsignedByte doesn't work. So
I'm a little puzzled.

best regards,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to