diff options
author | Torbjörn Andersson | 2008-03-30 06:12:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-03-30 06:12:16 +0000 |
commit | 49e3efe55eb26ad3e499a8cc44c5de11e011d361 (patch) | |
tree | 5853f266efc847c47979b242d24f87b7b5960a3e | |
parent | a84d1ea78b5590357c2fb62cdb5d4ccfc3008e8a (diff) | |
download | scummvm-rg350-49e3efe55eb26ad3e499a8cc44c5de11e011d361.tar.gz scummvm-rg350-49e3efe55eb26ad3e499a8cc44c5de11e011d361.tar.bz2 scummvm-rg350-49e3efe55eb26ad3e499a8cc44c5de11e011d361.zip |
Fixed signed/unsigned warning.
svn-id: r31322
-rw-r--r-- | common/memorypool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memorypool.cpp b/common/memorypool.cpp index 16acf42c70..25e8e0b876 100644 --- a/common/memorypool.cpp +++ b/common/memorypool.cpp @@ -65,7 +65,7 @@ bool MemoryPool::isPointerInPage(void* ptr, void* page) { 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; |