diff options
Diffstat (limited to 'linden/indra/newview/llfloatereditui.cpp')
-rw-r--r-- | linden/indra/newview/llfloatereditui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatereditui.cpp b/linden/indra/newview/llfloatereditui.cpp index 81c93ce..47cf97d 100644 --- a/linden/indra/newview/llfloatereditui.cpp +++ b/linden/indra/newview/llfloatereditui.cpp | |||
@@ -68,7 +68,7 @@ void LLFloaterEditUI::navigateHierarchyButtonPressed(void* data) | |||
68 | idx = parentChildren->size()-1; | 68 | idx = parentChildren->size()-1; |
69 | else | 69 | else |
70 | idx--; | 70 | idx--; |
71 | if( idx < 0 || idx >= parentChildren->size())break; | 71 | if( (long) idx < 0 || idx >= parentChildren->size())break; |
72 | for(sidx = 0,itor = parentChildren->begin();itor!=parentChildren->end();itor++,sidx++){ | 72 | for(sidx = 0,itor = parentChildren->begin();itor!=parentChildren->end();itor++,sidx++){ |
73 | if(sidx == idx) | 73 | if(sidx == idx) |
74 | { | 74 | { |
@@ -84,7 +84,7 @@ void LLFloaterEditUI::navigateHierarchyButtonPressed(void* data) | |||
84 | idx = 0; | 84 | idx = 0; |
85 | else | 85 | else |
86 | idx++; | 86 | idx++; |
87 | if( idx < 0 || idx >= parentChildren->size())break; | 87 | if( (long) idx < 0 || idx >= parentChildren->size())break; |
88 | for(sidx = 0,itor = parentChildren->begin();itor!=parentChildren->end();itor++,sidx++){ | 88 | for(sidx = 0,itor = parentChildren->begin();itor!=parentChildren->end();itor++,sidx++){ |
89 | if(sidx == idx) | 89 | if(sidx == idx) |
90 | { | 90 | { |