Fix for type conversion warnings emitted by MSVC 12.0 for 64-bit builds

I encountered these warnings while writing tests for WELL.