From f9e30735b04301b8f93abe501d9df18abe840e61 Mon Sep 17 00:00:00 2001
From: Urias McCullough <umccullough@gmail.com>
Date: Wed, 21 Dec 2011 11:05:46 -0800
Subject: [PATCH 5/7] Fix warnings in OpenSound debug code
---
.../media-add-ons/opensound/OpenSoundAddOn.cpp | 2 +-
.../media-add-ons/opensound/OpenSoundNode.cpp | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/add-ons/media/media-add-ons/opensound/OpenSoundAddOn.cpp b/src/add-ons/media/media-add-ons/opensound/OpenSoundAddOn.cpp
index a8c63f3..4c2cb5b 100644
a
|
b
|
status_t OpenSoundAddOn::InitCheck(
|
90 | 90 | int32 OpenSoundAddOn::CountFlavors() |
91 | 91 | { |
92 | 92 | CALLED(); |
93 | | PRINT(("%d flavours\n", fDevices.CountItems())); |
| 93 | PRINT(("%" B_PRId32 " flavours\n", fDevices.CountItems())); |
94 | 94 | return fDevices.CountItems(); |
95 | 95 | } |
96 | 96 | |
diff --git a/src/add-ons/media/media-add-ons/opensound/OpenSoundNode.cpp b/src/add-ons/media/media-add-ons/opensound/OpenSoundNode.cpp
index d8f7693..f954bbf 100644
a
|
b
|
OpenSoundNode::NodeRegistered()
|
560 | 560 | |
561 | 561 | // apply configuration |
562 | 562 | #ifdef PRINTING |
563 | | bigtime_t start = system_time(); |
| 563 | bigtime_t start; |
| 564 | start = system_time(); |
564 | 565 | #endif |
565 | 566 | |
566 | 567 | int32 index = 0; |