Specify long literal instead of assumed int

This commit is needed to prevent a possible integer overflow