]> git.proxmox.com Git - qemu.git/blobdiff - exec.c
Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings
[qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index c927fbc24da4ee758aba65bf5ce14e4732ae4d24..31374daa55dca04c9a6de1f2e8fcdeb230093313 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -1418,7 +1418,7 @@ void cpu_set_log(int log_flags)
 #if !defined(CONFIG_SOFTMMU)
         /* must avoid mmap() usage of glibc by setting a buffer "by hand" */
         {
-            static uint8_t logfile_buf[4096];
+            static char logfile_buf[4096];
             setvbuf(logfile, logfile_buf, _IOLBF, sizeof(logfile_buf));
         }
 #else