[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Tracing][PATCH] Fix a build warning
From: |
Prerna Saxena |
Subject: |
[Qemu-devel] [Tracing][PATCH] Fix a build warning |
Date: |
Thu, 5 Aug 2010 17:38:53 +0530 |
A build warning arising out of 'incompatible pointer assignment' shows
up at times. This will take care of it.
Signed-off-by: Prerna Saxena <address@hidden>
---
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