Fix warnings for DEBUG build. Build with tracing still broken.

This is a modified version of a patch in #8252 by Urias McCullough.
This commit is contained in:
Michael Lotz
2012-01-07 02:18:44 +01:00
parent 91d012366c
commit 423affc209
2 changed files with 2 additions and 2 deletions
@@ -90,7 +90,7 @@ status_t OpenSoundAddOn::InitCheck(
int32 OpenSoundAddOn::CountFlavors() int32 OpenSoundAddOn::CountFlavors()
{ {
CALLED(); CALLED();
PRINT(("%d flavours\n", fDevices.CountItems())); PRINT(("%" B_PRId32 " flavours\n", fDevices.CountItems()));
return fDevices.CountItems(); return fDevices.CountItems();
} }
@@ -559,7 +559,7 @@ OpenSoundNode::NodeRegistered()
SetParameterWeb(fWeb); SetParameterWeb(fWeb);
// apply configuration // apply configuration
#ifdef PRINTING #ifdef TRACE_OSS_NODE
bigtime_t start = system_time(); bigtime_t start = system_time();
#endif #endif