diff options
| author | Blue Swirl | 2012-04-09 16:20:20 +0200 |
|---|---|---|
| committer | Blue Swirl | 2012-04-14 16:23:37 +0200 |
| commit | 2050396801ca0c8359364d61eaadece951006057 (patch) | |
| tree | 285b268127f2132bdd5137b80895fa92362116d5 /user-exec.c | |
| parent | coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31 (diff) | |
| download | qemu-2050396801ca0c8359364d61eaadece951006057.tar.gz qemu-2050396801ca0c8359364d61eaadece951006057.tar.xz qemu-2050396801ca0c8359364d61eaadece951006057.zip | |
Use uintptr_t for various op related functions
Use uintptr_t instead of void * or unsigned long in
several op related functions, env->mem_io_pc and
GETPC() macro.
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'user-exec.c')
| -rw-r--r-- | user-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user-exec.c b/user-exec.c index cd905ff189..be6bc4f64c 100644 --- a/user-exec.c +++ b/user-exec.c @@ -82,7 +82,7 @@ void cpu_resume_from_signal(CPUArchState *env1, void *puc) the effective address of the memory exception. 'is_write' is 1 if a write caused the exception and otherwise 0'. 'old_set' is the signal set which should be restored */ -static inline int handle_cpu_signal(unsigned long pc, unsigned long address, +static inline int handle_cpu_signal(uintptr_t pc, unsigned long address, int is_write, sigset_t *old_set, void *puc) { |
