]> git.proxmox.com Git - qemu.git/blobdiff - softmmu-semi.h
vl.c: Don't limit node count by smp count
[qemu.git] / softmmu-semi.h
index 8bf96f4976c25065ef47f555aa3be5106edc485d..79278cc763a0e2e2c4dae3e5ea43da6628a5edcf 100644 (file)
@@ -37,7 +37,7 @@ static inline void softmmu_tput32(CPUState *env, uint32_t addr, uint32_t val)
 static void *softmmu_lock_user(CPUState *env, uint32_t addr, uint32_t len,
                                int copy)
 {
-    char *p;
+    uint8_t *p;
     /* TODO: Make this something that isn't fixed size.  */
     p = malloc(len);
     if (copy)