Update of /cvsroot/simspark/simspark/spark/kerosin/sceneserver
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv21823
Modified Files:
Tag: WIN32
light.cpp
Log Message:
- compilation fix
Index: light.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/kerosin/sceneserver/light.cpp,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** light.cpp 5 Dec 2005 21:38:23 -0000 1.1
--- light.cpp 10 Feb 2007 16:18:24 -0000 1.1.2.1
***************
*** 159,163 ****
void Light::FlushCache()
{
! const unsigned int n = mCachedIndices.size();
for (unsigned int i=0; i<n; ++i)
{
--- 159,165 ----
void Light::FlushCache()
{
! const unsigned int n
! = static_cast<unsigned int>(mCachedIndices.size());
!
for (unsigned int i=0; i<n; ++i)
{
|