From 133a78398f42fc77a88b0de62bd16a8f82281803 Mon Sep 17 00:00:00 2001 From: Tomer Barletz Date: Mon, 11 Jul 2016 18:28:27 -0700 Subject: [PATCH] Change data type to match assigned one. --- 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 8c21125..98931d6 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; - size_t new_capacity = min_new_capacity; + uint new_capacity = min_new_capacity; if ((grow_hint) && (!math::is_power_of_2(new_capacity))) new_capacity = math::next_pow2(new_capacity);