From d64212091e58530465028feda65ed8b0fcf9da36 Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Mon, 9 Jan 2017 13:57:00 -0800 Subject: [PATCH] Change data type to match assigned one. (reverted from commit 133a78398f42fc77a88b0de62bd16a8f82281803) --- crnlib/crn_vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crnlib/crn_vector.cpp b/crnlib/crn_vector.cpp index 98931d6..8c21125 100644 --- a/crnlib/crn_vector.cpp +++ b/crnlib/crn_vector.cpp @@ -21,7 +21,7 @@ namespace crnlib if (m_capacity >= min_new_capacity) return true; - uint new_capacity = min_new_capacity; + size_t new_capacity = min_new_capacity; if ((grow_hint) && (!math::is_power_of_2(new_capacity))) new_capacity = math::next_pow2(new_capacity);