From abc9871ae1a36e92dd19e9e0f34785c5fb2dd96b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 20 Aug 2010 17:07:54 +0000 Subject: [PATCH] fixed warnings with debug enabled git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38287 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/packageinstaller/PackageItem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/packageinstaller/PackageItem.cpp b/src/apps/packageinstaller/PackageItem.cpp index 971a264d4e..a17ed39783 100644 --- a/src/apps/packageinstaller/PackageItem.cpp +++ b/src/apps/packageinstaller/PackageItem.cpp @@ -558,7 +558,7 @@ PackageScript::DoInstall(const char *path, ItemState *state) } } - parser_debug("Ret: %d %s\n", ret, strerror(ret)); + parser_debug("Ret: %ld %s\n", ret, strerror(ret)); return ret; } @@ -710,14 +710,14 @@ PackageDirectory::DoInstall(const char *path, ItemState *state) parser_debug("Directory: %s DoInstall() called!\n", fPath.String()); ret = InitPath(path, &destination); - parser_debug("Ret: %d %s\n", ret, strerror(ret)); + parser_debug("Ret: %ld %s\n", ret, strerror(ret)); if (ret != B_OK) return ret; // Since Haiku is single-user right now, we give the newly // created directory default permissions ret = create_directory(destination.Path(), kDefaultMode); - parser_debug("Create dir ret: %d %s\n", ret, strerror(ret)); + parser_debug("Create dir ret: %ld %s\n", ret, strerror(ret)); if (ret != B_OK) return ret; BDirectory dir(destination.Path()); @@ -734,7 +734,7 @@ PackageDirectory::DoInstall(const char *path, ItemState *state) if (fOffset) ret = HandleAttributes(&destination, &dir, "FoDa"); - parser_debug("Ret: %d %s\n", ret, strerror(ret)); + parser_debug("Ret: %ld %s\n", ret, strerror(ret)); return ret; }