From 6e706bfefa04fc28d6c204442ca45982993dc550 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 00:56:15 +0000 Subject: More size_t --- src/libstate/libstate.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstate/libstate.cpp') 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; -- cgit v1.2.3