Fixed for 32-bit.
Merge pull request #42 from Abscissa/fix32bit

Fixed for 32-bit.