--warnings

This commit is contained in:
mfranz
2006-03-14 15:55:24 +00:00
parent 2cccc26541
commit 688cffb031
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -911,7 +911,7 @@ SGPropertyNode_ptr
SGPropertyNode::removeChild (int pos, bool keep)
{
SGPropertyNode_ptr node;
if (pos < 0 || pos >= _children.size())
if (pos < 0 || pos >= (int)_children.size())
return node;
vector<SGPropertyNode_ptr>::iterator it = _children.begin();
+1 -1
View File
@@ -1185,9 +1185,9 @@ private:
class hash_table;
int _index;
string _name;
mutable string _display_name;
int _index;
/// To avoid cyclic reference counting loops this shall not be a reference
/// counted pointer
SGPropertyNode * _parent;