From a16c055cb0918b167f238ee5fa4b59227bbd1f4c Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 21 Nov 2004 08:27:35 +0000 Subject: [PATCH] address compiler warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10095 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../mail_daemon/inbound_protocols/imap/NestedString.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/NestedString.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/NestedString.cpp index b8090b0cd4..8a367da331 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/NestedString.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/NestedString.cpp @@ -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]()); } }