Received: from eggs.gnu.org ([208.118.235.92]:40352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7AKa-0007IN-Bl for qemu-devel@nongnu.org; Mon, 12 Mar 2012 14:50:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7AKR-0008Ot-Pj for qemu-devel@nongnu.org; Mon, 12 Mar 2012 14:50:51 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:63230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7AKR-0008JW-Gx for qemu-devel@nongnu.org; Mon, 12 Mar 2012 14:50:43 -0400 Received: by mail-ey0-f173.google.com with SMTP id f11so1649617eaa.4 for ; Mon, 12 Mar 2012 11:50:42 -0700 (PDT) From: "=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=" Date: Mon, 12 Mar 2012 19:50:03 +0100 Message-Id: <1331578211-18232-4-git-send-email-marcandre.lureau@redhat.com> In-Reply-To: <1331578211-18232-1-git-send-email-marcandre.lureau@redhat.com> References: <1331578211-18232-1-git-send-email-marcandre.lureau@redhat.com> Subject: [Qemu-devel] [PATCH 03/11] audio: use a nominal volume of UINT_MAX List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , dnb@redhat.com, dlaor@redhat.com, kraxel@redhat.com It's more appropriate to set the maximum value into a fitting integer. --- audio/audio.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/audio.c b/audio/audio.c index bd9237e..06c2384 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -110,8 +110,8 @@ const struct mixeng_volume nominal_volume = { .r = 1.0, .l = 1.0, #else - .r = 1ULL << 32, - .l = 1ULL << 32, + .r = UINT_MAX, + .l = UINT_MAX, #endif }; -- 1.7.7.6