qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] Avoid compiler error when building block/blkdebug.c with -Wtype-limits
@ 2010-09-10 14:04 Jes.Sorensen
  2010-09-10 14:04 ` [Qemu-devel] [PATCH 1/1] " Jes.Sorensen
  0 siblings, 1 reply; 4+ messages in thread
From: Jes.Sorensen @ 2010-09-10 14:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: blauwirbel

From: Jes Sorensen <Jes.Sorensen@redhat.com>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-10 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 14:04 [Qemu-devel] [PATCH 0/1] Avoid compiler error when building block/blkdebug.c with -Wtype-limits Jes.Sorensen
2010-09-10 14:04 ` [Qemu-devel] [PATCH 1/1] " Jes.Sorensen
2010-09-10 17:05   ` [Qemu-devel] " Blue Swirl
2010-09-10 17:15     ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).