Fix Compiler warnings.
warning: comparison between signed and unsigned integer expressions for ( int p = 0; p < pointer; p++) { ^
This commit is contained in:
parent
5772bbd206
commit
cbb7c8b854
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue