aboutsummaryrefslogtreecommitdiff
path: root/softmmu-semi.h
diff options
context:
space:
mode:
Diffstat (limited to 'softmmu-semi.h')
-rw-r--r--softmmu-semi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu-semi.h b/softmmu-semi.h
index 8bf96f4976..79278cc763 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)