Fix Compiler warnings.

warning: comparison between signed and unsigned integer expressions 
     for ( int p = 0; p < pointer; p++) {
                        ^
This commit is contained in:
Ameen Ali 2015-12-13 17:40:01 +02:00
parent 5772bbd206
commit cbb7c8b854
1 changed files with 1 additions and 1 deletions

View File

@ -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";