diff options
author | Jacek Antonelli | 2008-08-15 23:45:01 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:01 -0500 |
commit | 28d8d4e7664bcd6c8369cc18832e42096af7cad2 (patch) | |
tree | 069020fe66339aff2ca4176370ff743b14713f2d /linden/indra/newview/llfloatereditui.cpp | |
parent | Second Life viewer sources 1.17.2.0 (diff) | |
download | meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.zip meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.gz meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.bz2 meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.xz |
Second Life viewer sources 1.17.3.0
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 | { |