summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-02-28 17:35:36 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-02-28 17:35:36 +0000
commit3372cd120cdeca82a1f9d89930e9e1fe3323ee21 (patch)
treec8a84d628d1b937b32118b65bfc73c06302a6eb6 /src
parente0c299d979888d4f7ab36720703f62edd327e2a1 (diff)
Silence some warnings
Diffstat (limited to 'src')
-rw-r--r--src/pavucontrol.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc
index 9634b52..ae0e464 100644
--- a/src/pavucontrol.cc
+++ b/src/pavucontrol.cc
@@ -470,7 +470,7 @@ void ChannelWidget::onVolumeScaleValueChanged() {
ca_context_cancel(ca_gtk_context_get(), 2);
- int r = ca_gtk_play_for_widget(GTK_WIDGET(volumeScale->gobj()),
+ ca_gtk_play_for_widget(GTK_WIDGET(volumeScale->gobj()),
2,
CA_PROP_EVENT_DESCRIPTION, _("Volume Control Feedback Sound"),
CA_PROP_EVENT_ID, "audio-volume-change",
@@ -1207,7 +1207,7 @@ void MainWindow::updateCard(const pa_card_info &info) {
w->hasSinks = w->hasSources = false;
w->profiles.clear();
- for (int i=0; i<info.n_profiles; ++i) {
+ for (uint32_t i=0; i<info.n_profiles; ++i) {
w->hasSinks = w->hasSinks || (info.profiles[i].n_sinks > 0);
w->hasSources = w->hasSources || (info.profiles[i].n_sources > 0);
w->profiles.insert(std::pair<Glib::ustring,Glib::ustring>(info.profiles[i].name, info.profiles[i].description));