Fixes cast from double to int64 to prevent loss of precision.
Fixes cast from double to int64 to prevent loss of precision.

With this fix all unit tests pass on windows. I think it might also fix the problem on Solaris.

The problem was that the implicit cast from double to int64 results in rounding error on 32 bit platforms.

Author: Jeroen Ooms <jeroenooms@gmail.com>

Closes #141 from jeroenooms/fix_32bit and squashes the following commits:

5cb392c [Jeroen Ooms] Fixes cast from double to int64 to prevent loss of precision.

wesm/feather,chris-b1/feather,wesm/feather,wesm/feather,chris-b1/feather,wesm/feather,wesm/feather,wesm/feather,wesm/feather,chris-b1/feather,wesm/feather,chris-b1/feather,chris-b1/feather,chris-b1/feather