From: Prerna Saxena <prerna@linux.vnet.ibm.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Ananth Narayan <ananth@linux.vnet.ibm.com>,
qemu-devel <qemu-devel@nongnu.org>,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: [Qemu-devel] [Tracing][PATCH] Fix a build warning
Date: Thu, 5 Aug 2010 17:38:53 +0530 [thread overview]
Message-ID: <20100805173853.3cea0c93@zephyr> (raw)
In-Reply-To: <AANLkTimbFe_SWTVzBPHeSVqRv4m_BkJOLZiHviavvo=k@mail.gmail.com>
A build warning arising out of 'incompatible pointer assignment' shows
up at times. This will take care of it.
Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com>
---
vl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index 46314d4..989c35b 100644
--- a/vl.c
+++ b/vl.c
@@ -1827,7 +1827,7 @@ int main(int argc, char **argv, char **envp)
int defconfig = 1;
#ifdef CONFIG_SIMPLE_TRACE
- char *trace_file = NULL;
+ const char *trace_file = NULL;
#endif
atexit(qemu_run_exit_notifiers);
error_set_progname(argv[0]);
--
1.6.2.5
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
next prev parent reply other threads:[~2010-08-05 15:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 5:37 [Qemu-devel] [Tracing][PATCH] Add options to specify trace file name at startup and runtime Prerna Saxena
2010-08-03 14:15 ` Stefan Hajnoczi
2010-08-04 9:33 ` Prerna Saxena
2010-08-04 9:53 ` Stefan Hajnoczi
2010-08-04 9:21 ` [Qemu-devel] [Tracing][PATCH v2] " Prerna Saxena
2010-08-04 9:30 ` malc
2010-08-04 10:53 ` [Qemu-devel] [Tracing][PATCH v3] " Prerna Saxena
2010-08-04 11:48 ` Stefan Hajnoczi
2010-08-05 12:08 ` Prerna Saxena [this message]
2010-08-05 14:26 ` [Qemu-devel] Re: [Tracing][PATCH] Fix a build warning Stefan Hajnoczi
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=20100805173853.3cea0c93@zephyr \
--to=prerna@linux.vnet.ibm.com \
--cc=ananth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=stefanha@linux.vnet.ibm.com \
/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 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).