aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 00:56:15 +0000
committerlloyd <[email protected]>2010-10-13 00:56:15 +0000
commit6e706bfefa04fc28d6c204442ca45982993dc550 (patch)
treec3a151b6ce91cb5add058b224a925e4f3b8cfb5d /src/libstate/libstate.cpp
parentc59d960db6d69bd9c479ec674768b7ec371830b5 (diff)
More size_t
Diffstat (limited to 'src/libstate/libstate.cpp')
-rw-r--r--src/libstate/libstate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index a20fc76c6..d086c5cde 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -288,10 +288,10 @@ Library_State::~Library_State()
cached_default_allocator = 0;
- for(u32bit j = 0; j != allocators.size(); ++j)
+ for(size_t i = 0; i != allocators.size(); ++i)
{
- allocators[j]->destroy();
- delete allocators[j];
+ allocators[i]->destroy();
+ delete allocators[i];
}
delete global_rng_lock;