From cbb7c8b854adf89fcab8e6f8fead932dcb95d99c Mon Sep 17 00:00:00 2001 From: Ameen Ali Date: Sun, 13 Dec 2015 17:40:01 +0200 Subject: [PATCH] Fix Compiler warnings. warning: comparison between signed and unsigned integer expressions for ( int p = 0; p < pointer; p++) { ^ --- lib/symboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 85f429ca7..0c2d645f4 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -3922,7 +3922,7 @@ std::string ValueType::str() const ret += " double"; else if (type == LONGDOUBLE) ret += " long double"; - for (int p = 0; p < pointer; p++) { + for (unsigned int p = 0; p < pointer; p++) { ret += " *"; if (constness & (2 << p)) ret += " const";