Fix compilation warnings for Windows
The commits in this branch fix the compilation warnings for msvc2013, 64 bits.
Most of them are conversion warnings between int and size_t.
The commits in this branch fix the compilation warnings for msvc2013, 64 bits.
Most of them are conversion warnings between int and size_t.