[kaffe] warning hunt
Adam Heath
doogie at debian.org
Tue Apr 13 13:32:01 PDT 2004
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.
More information about the kaffe
mailing list