[Plib-cvs] plib/src/ssg ssgVtxArray.cxx,1.23,1.24
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-08-30 12:51:25
|
Update of /cvsroot/plib/plib/src/ssg In directory usw-pr-cvs1:/tmp/cvs-serv18809 Modified Files: ssgVtxArray.cxx Log Message: Removing compiler warning due to implicit type conversion. Index: ssgVtxArray.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgVtxArray.cxx,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- ssgVtxArray.cxx 22 Jul 2002 14:31:38 -0000 1.23 +++ ssgVtxArray.cxx 30 Aug 2002 12:49:56 -0000 1.24 @@ -224,7 +224,7 @@ for(i=0; i<indices->getNum(); i++) { oldIndex = *indices->get(i); if (oldIndex2NewIndex[ oldIndex ] != -1) - indices->set(oldIndex2NewIndex[ oldIndex ], i); + indices->set((short)oldIndex2NewIndex[ oldIndex ], i); else { newIndex = newVL->getNum(); indices->set(newIndex , i); |