Received: from [140.186.70.92] (port=53098 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou4DE-0000rW-51 for qemu-devel@nongnu.org; Fri, 10 Sep 2010 10:04:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou4DC-0001d6-JC for qemu-devel@nongnu.org; Fri, 10 Sep 2010 10:04:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47712) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou4DC-0001cv-Cz for qemu-devel@nongnu.org; Fri, 10 Sep 2010 10:04:18 -0400 From: Jes.Sorensen@redhat.com Date: Fri, 10 Sep 2010 16:04:10 +0200 Message-Id: <1284127451-22092-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH 0/1] Avoid compiler error when building block/blkdebug.c with -Wtype-limits List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com From: Jes Sorensen Hi, Back to the earlier discussion about building with -Wtype-limits. This fixes the problem with block/blkdebug.c where it tries to compare an enum against < 0. I looked at a couple of ways to do this, but I think this is the least intrusive. Let me know what you think. Thanks, Jes Jes Sorensen (1): Avoid compiler error when building block/blkdebug.c with -Wtype-limits block/blkdebug.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)