* [Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning
@ 2006-01-04 20:04 Pavel Janík
0 siblings, 0 replies; only message in thread
From: Pavel Janík @ 2006-01-04 20:04 UTC (permalink / raw)
To: qemu-devel
Hi,
fetch_next_pair_value is declared as:
static inline void fetch_next_pair_value(struct relocation_info * rel, unsigned int *value)
so the second arg should be unsigned. Please apply.
--- dyngen.c 31 May 2005 22:45:24 +0200 1.40
+++ dyngen.c 04 Jan 2006 20:40:33 +0100
@@ -970,7 +970,7 @@
struct scattered_relocation_info * sca_rel = (struct scattered_relocation_info*)rel;
int sectnum = rel->r_symbolnum;
int sectoffset;
- int other_half=0;
+ unsigned int other_half=0;
/* init the slide value */
*sslide = 0;
--
Pavel Janík
I'm serious as mud. :-)
-- Lars Magne Ingebrigtsen in gnus.ding
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-04 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 20:04 [Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning Pavel Janík
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.