qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/1] Avoid compiler error when building block/blkdeb


From: Jes . Sorensen
Subject: [Qemu-devel] [PATCH 0/1] Avoid compiler error when building block/blkdebug.c with -Wtype-limits
Date: Fri, 10 Sep 2010 16:04:10 +0200

From: Jes Sorensen <address@hidden>

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(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]