X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fbackgroundmgr.cpp;h=ff22e58352a70a0747fc34d462bec7a49c35f98a;hb=d77c9d135405e077047ef3426a54470c144cdd34;hp=ddbefb75f9108ad6d1b015e92d71b30d75be164f;hpb=8cce345df80fdbeea1c03a04a71d805951a87b74;p=ctsim.git diff --git a/src/backgroundmgr.cpp b/src/backgroundmgr.cpp index ddbefb7..ff22e58 100644 --- a/src/backgroundmgr.cpp +++ b/src/backgroundmgr.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: backgroundmgr.cpp,v 1.9 2001/03/04 03:14:47 kevin Exp $ +** $Id: backgroundmgr.cpp,v 1.10 2001/03/05 15:16:25 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -219,7 +219,7 @@ BackgroundManager::resizeWindow() { int iHighestPosition = -1; - for (int i = 0; i < m_vecpPositions.size(); i++) + for (unsigned int i = 0; i < m_vecpPositions.size(); i++) if (iHighestPosition < m_vecpPositions[i]) iHighestPosition = m_vecpPositions[i];