From 30304f2da422d30c33d8b194398bbb8a53c54590 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 21 Jul 2002 22:48:00 +0000 Subject: [PATCH] Fixed warnings. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@379 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/Looper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/app/Looper.cpp b/src/kits/app/Looper.cpp index 91d47101ab..04f5b0dcf7 100644 --- a/src/kits/app/Looper.cpp +++ b/src/kits/app/Looper.cpp @@ -451,7 +451,7 @@ DBG(OUT("BLooper::Quit()\n")); name = "no-name"; } printf("ERROR - you must Lock a looper before calling Quit(), " - "team=%d, looper=%s", Team(), name); + "team=%ld, looper=%s", Team(), name); } DBG(OUT(" is locked\n")); @@ -540,7 +540,7 @@ DBG(OUT(" fOwnerCount now: %ld\n", fOwnerCount)); fOwner = -1; // Decrement requested lock count (using fAtomicCount for this) - int32 atomicCount = atomic_add(&fAtomicCount, -1); +/* int32 atomicCount =*/ atomic_add(&fAtomicCount, -1); DBG(OUT(" fAtomicCount now: %ld\n", fAtomicCount)); // Check if anyone is waiting for a lock