address compiler warnings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10095 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty
2004-11-21 08:27:35 +00:00
parent d4ac9329fb
commit a16c055cb0
@@ -93,7 +93,7 @@ bool NestedString::HasChildren() const {
void NestedString::PrintToStream(int indentation) {
for (int j = 0; j < indentation; j++)
printf("\t");
printf("%d items:\n",CountItems());
printf("%ld items:\n",CountItems());
/*if (CountItems() == 1) {
for (int j = 0; j < indentation; j++)
printf("\t");
@@ -105,7 +105,7 @@ void NestedString::PrintToStream(int indentation) {
if ((*this)[i].HasChildren())
(*this)[i].PrintToStream(indentation+1);
else
printf("%d: %s\n",i,(*this)[i]());
printf("%ld: %s\n",i,(*this)[i]());
}
}