From: Pavel@Janik.cz (Pavel Janík)
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning
Date: Wed, 04 Jan 2006 21:04:55 +0100 [thread overview]
Message-ID: <87irszyd20.fsf@Janik.cz> (raw)
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
reply other threads:[~2006-01-04 20:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87irszyd20.fsf@Janik.cz \
--to=pavel@janik.cz \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.