X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=softmmu-semi.h;h=79278cc763a0e2e2c4dae3e5ea43da6628a5edcf;hb=bf9b48af99a75a1f7d76c8b3d92a82a0a41cb707;hp=8bf96f4976c25065ef47f555aa3be5106edc485d;hpb=2f6196984b98fe2a852b1b5254756f1614eb7635;p=qemu diff --git a/softmmu-semi.h b/softmmu-semi.h index 8bf96f4..79278cc 100644 --- a/softmmu-semi.h +++ b/softmmu-semi.h @@ -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)