address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10095 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -93,7 +93,7 @@ bool NestedString::HasChildren() const {
|
|||||||
void NestedString::PrintToStream(int indentation) {
|
void NestedString::PrintToStream(int indentation) {
|
||||||
for (int j = 0; j < indentation; j++)
|
for (int j = 0; j < indentation; j++)
|
||||||
printf("\t");
|
printf("\t");
|
||||||
printf("%d items:\n",CountItems());
|
printf("%ld items:\n",CountItems());
|
||||||
/*if (CountItems() == 1) {
|
/*if (CountItems() == 1) {
|
||||||
for (int j = 0; j < indentation; j++)
|
for (int j = 0; j < indentation; j++)
|
||||||
printf("\t");
|
printf("\t");
|
||||||
@@ -105,7 +105,7 @@ void NestedString::PrintToStream(int indentation) {
|
|||||||
if ((*this)[i].HasChildren())
|
if ((*this)[i].HasChildren())
|
||||||
(*this)[i].PrintToStream(indentation+1);
|
(*this)[i].PrintToStream(indentation+1);
|
||||||
else
|
else
|
||||||
printf("%d: %s\n",i,(*this)[i]());
|
printf("%ld: %s\n",i,(*this)[i]());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user