BUG: Modified to cast the type of an input buffer into the exact type required by std::ifstream.read in VC++.
BUG: Modified to cast the type of an input buffer into the exact type
required by std::ifstream.read in VC++.

thewtex/ImageViewer,KitwareMedical/ImageViewer,aylward/ImageViewer