forked from pool/alsa-utils
Takashi Iwai
a8785cdb8c
- Backport upstream fixes: a few speaker-test fixes, minor alsactl fixes and a revert of a wrong fix for aplay. 0007-speaker-test-Add-missing-draining-at-the-end.patch 0008-alsactl-Fix-the-file-locking-routines-for-the-state-.patch 0009-alsactl-aded-missing-monitor-prototype.patch 0010-speaker-text-fix-simple-signess-assignment-warning.patch 0011-monitor-fix-clang-warning-Declared-variable-length-a.patch 0012-alsactl-coverity-missing_va_end-va_end-was-not-calle.patch 0013-Revert-aplay-fix-pcm_read-return-value.patch OBS-URL: https://build.opensuse.org/request/show/257836 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=108
26 lines
787 B
Diff
26 lines
787 B
Diff
From da7a2f91de1c2089bf2b4ba247807cb716f30424 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Wed, 24 Sep 2014 10:47:48 +0200
|
|
Subject: [PATCH] speaker-text: fix simple signess assignment warning
|
|
|
|
---
|
|
speaker-test/speaker-test.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
|
|
index 362efa7ffc0d..ccf2671725a3 100644
|
|
--- a/speaker-test/speaker-test.c
|
|
+++ b/speaker-test/speaker-test.c
|
|
@@ -113,7 +113,7 @@ static snd_pcm_t *pcm_handle = NULL;
|
|
#ifdef CONFIG_SUPPORT_CHMAP
|
|
static snd_pcm_chmap_t *channel_map;
|
|
static int channel_map_set;
|
|
-static unsigned int *ordered_channels;
|
|
+static int *ordered_channels;
|
|
#endif
|
|
|
|
static const char *const channel_name[MAX_CHANNELS] = {
|
|
--
|
|
2.1.2
|
|
|