Add an explicit cast to long so as to make Orbiter compatible with both 32-bit and 64-bit devices.
Merge pull request #21 from jpteti/master

Add an explicit cast to long so as to make Orbiter compatible with both 32-bit and 64-bit devices.