Removes several times warning C4018 in MSVC.

* Removes signed/unsigned mismatch warning.
This commit is contained in:
davyw
2011-12-12 15:00:06 +01:00
parent 7712b9bb23
commit 03fd892382
+3 -3
View File
@@ -748,7 +748,7 @@ void
SCOPEconsts_out( Scope s, int level ) {
Variable v;
DictionaryEntry de;
int max_indent = 0;
unsigned int max_indent = 0;
Dictionary d = s->symbol_table;
DICTdo_type_init( d, &de, OBJ_VARIABLE );
@@ -802,7 +802,7 @@ void
SCOPElocals_out( Scope s, int level ) {
Variable v;
DictionaryEntry de;
int max_indent = 0;
unsigned int max_indent = 0;
Dictionary d = s->symbol_table;
DICTdo_type_init( d, &de, OBJ_VARIABLE );
@@ -1298,7 +1298,7 @@ ENTITYattrs_out( Linked_List attrs, int derived, int level ) {
void
WHERE_out( Linked_List wheres, int level ) {
int max_indent;
unsigned int max_indent;
if( !wheres ) {
return;
}