This discussion is archived
11 Replies Latest reply: Jan 19, 2007 2:23 AM by 807599 RSS

comparing long to int

807599 Newbie
Currently Being Moderated
Is this legal as it is not throwing an error:

long a = 1
int b = 1

if a == b ...

Thanks