[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning
From: |
Pavel Janík |
Subject: |
[Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning |
Date: |
Wed, 04 Jan 2006 21:04:55 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning,
Pavel Janík <=