From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIhlU-0000xa-Ua for qemu-devel@nongnu.org; Thu, 30 Jun 2016 15:36:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIhlQ-0007Jx-QH for qemu-devel@nongnu.org; Thu, 30 Jun 2016 15:36:43 -0400 From: John Snow Date: Thu, 30 Jun 2016 15:36:36 -0400 Message-Id: <1467315396-3628-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH] Remove left shifts of negative signed integers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com, kraxel@redhat.com, peter.maydell@linaro.org, John Snow Another exercise in placating Clang's increasingly strict -Werror mode. Technically, this is undefined behavior. In practice, -N< --- hw/audio/fmopl.c | 2 +- target-i386/monitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c index 731110f..de9338b 100644 --- a/hw/audio/fmopl.c +++ b/hw/audio/fmopl.c @@ -69,7 +69,7 @@ static int opl_dbg_maxchip,opl_dbg_chip; /* final output shift , limit minimum and maximum */ #define OPL_OUTSB (TL_BITS+3-16) /* OPL output final shift 16bit */ #define OPL_MAXOUT (0x7fff<