Hacker News new | ask | show | jobs
by DerekL 5509 days ago
The left operand is an int, so the result of the shift expression is an int. The fact that the shift expression is used to initialize a long is not relevant.