Quote (ferf @ Apr 22 2017 11:24pm)
that's what i meant :|
Typically you only put L at the end of a pure literal
long foo = 20.0L;
For your case, you might need to do -
long myLong = (myByte * 10
L) + 50_000
L + (myShort + myInt);
Tho, I would imagine even without those the compiler would do the right thing.