From 7a277f2091f290acc6986db9b85342b4ecb7b067 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 24 May 2015 01:21:40 -0400 Subject: [PATCH] C++11: Removed compiler warning. --- src/prompt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt.cpp b/src/prompt.cpp index 1d3d6fe..feab3a4 100644 --- a/src/prompt.cpp +++ b/src/prompt.cpp @@ -73,7 +73,7 @@ int promptAdd (const std::string& context) std::string composeContexts (bool pretty /* = false */) { std::string combined; - for (int i = 0; i < contexts.size (); ++i) + for (unsigned int i = 0; i < contexts.size (); ++i) { if (pretty) {