On Tue, 13 Apr 2004, Nektarios K. Papadopoulos wrote:

> [2] traditional-2 warnings were handled differently in different cases.
>       (a) I just cast the argument appropriately, when there is a reason to
> be declared of that type, but it has already been checked.
>       (b) As in (a) only that I added the checks.
>       (c) I changed the types involved to a more reasonable one
>       (as Dalibor suggested)

Be careful of casting.  It might be better to fix the other code to use the
correct type.

Of course, this isn't always possible; java has no concept of 32-bit
unsigned(or 64-bit unsigned), whereas the native c code does.

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

Reply via email to