]> Git Repo - qemu.git/blobdiff - softmmu-semi.h
fix race between timer firing vs. alarm_timer->pending = 0
[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)
This page took 0.024473 seconds and 4 git commands to generate.