Show
Ignore:
Timestamp:
03/05/10 17:07:12 (4 years ago)
Author:
robert
Message:

Fixed warning

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWidget/Input.cpp

    r11101 r11174  
    591591            if (_selectionMax-_selectionMin>0) 
    592592            { 
    593                 point_type    deleteToIdx = _selectionMax; 
     593                unsigned int deleteToIdx = _selectionMax; 
    594594                for (unsigned int i=0; i < s.size()-_selectionMin; ++i) 
    595595                { 
    596                     s[_selectionMin+i] = deleteToIdx+i+1 < s.size() ? s[deleteToIdx+i+1] : ' '; 
     596                    s[_selectionMin+i] = (deleteToIdx+i+1 < s.size()) ? s[deleteToIdx+i+1] : ' '; 
    597597                } 
    598598