From: Laszlo T. <ave...@us...> - 2004-09-13 16:53:23
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/BAMImporter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28925/plugins/BAMImporter Modified Files: BAMImp.cpp Log Message: msvc 7.0 compatibility fixes after the changes of x,y -> Point Index: BAMImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/BAMImporter/BAMImp.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** BAMImp.cpp 12 Sep 2004 21:58:47 -0000 1.27 --- BAMImp.cpp 13 Sep 2004 16:53:14 -0000 1.28 *************** *** 266,270 **** str->Read( FLT, count * sizeof(ieWord) ); if( DataStream::IsEndianSwitch() ) { ! swab( FLT, FLT, count * sizeof(ieWord) ); } std::vector< unsigned short> indices; --- 266,271 ---- str->Read( FLT, count * sizeof(ieWord) ); if( DataStream::IsEndianSwitch() ) { ! //msvc likes it as char * ! swab( (char*) FLT, (char*) FLT, count * sizeof(ieWord) ); } std::vector< unsigned short> indices; |