[Scummvm-cvs-logs] SF.net SVN: scummvm: [31322] scummvm/trunk/common/memorypool.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Mar 30 08:12:17 CEST 2008
Revision: 31322
http://scummvm.svn.sourceforge.net/scummvm/?rev=31322&view=rev
Author: eriktorbjorn
Date: 2008-03-29 23:12:16 -0700 (Sat, 29 Mar 2008)
Log Message:
-----------
Fixed signed/unsigned warning.
Modified Paths:
--------------
scummvm/trunk/common/memorypool.cpp
Modified: scummvm/trunk/common/memorypool.cpp
===================================================================
--- scummvm/trunk/common/memorypool.cpp 2008-03-30 06:02:34 UTC (rev 31321)
+++ scummvm/trunk/common/memorypool.cpp 2008-03-30 06:12:16 UTC (rev 31322)
@@ -65,7 +65,7 @@
void MemoryPool::freeUnusedPages() {
//std::sort(_pages.begin(), _pages.end());
- Array<int> numberOfFreeChunksPerPage;
+ Array<size_t> numberOfFreeChunksPerPage;
numberOfFreeChunksPerPage.resize(_pages.size());
for(size_t i=0; i<numberOfFreeChunksPerPage.size(); ++i) {
numberOfFreeChunksPerPage[i] = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list