From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fix warning
Date: Sat, 06 Sep 2008 15:00:02 +0200 [thread overview]
Message-ID: <48C27ED2.8020009@reactos.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
Hi,
Attached patch fixes a warning in cpu_mips_find_by_name().
'name' is a string, so it should be declared as char*, not unsigned char*.
Hervé
[-- Attachment #2: fix signed warning.diff --]
[-- Type: text/plain, Size: 400 bytes --]
Index: target-mips/translate_init.c
===================================================================
--- target-mips/translate_init.c (revision 5171)
+++ target-mips/translate_init.c (working copy)
@@ -417,7 +417,7 @@
#endif
};
-static const mips_def_t *cpu_mips_find_by_name (const unsigned char *name)
+static const mips_def_t *cpu_mips_find_by_name (const char *name)
{
int i;
next reply other threads:[~2008-09-06 13:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-06 13:00 Hervé Poussineau [this message]
2008-09-14 16:19 ` [Qemu-devel] [PATCH] Fix warning Aurelien Jarno
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=48C27ED2.8020009@reactos.org \
--to=hpoussin@reactos.org \
--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.