diff options
| author | bellard | 2004-05-20 23:56:27 +0200 |
|---|---|---|
| committer | bellard | 2004-05-20 23:56:27 +0200 |
| commit | 274da6b24b93e98119de92f22fff24f79ba173ba (patch) | |
| tree | 6923ed474f71df1d7be98f605c31fd91efd11575 /linux-user | |
| parent | PIC spurious irq support (aka Solaris install bug) (diff) | |
| download | qemu-274da6b24b93e98119de92f22fff24f79ba173ba.tar.gz qemu-274da6b24b93e98119de92f22fff24f79ba173ba.tar.xz qemu-274da6b24b93e98119de92f22fff24f79ba173ba.zip | |
64 bit fix (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@839 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 980ab6ba06..899e085c57 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -127,7 +127,7 @@ static inline void init_thread(struct target_pt_regs *regs, struct image_info *i */ #define ELF_PLAT_INIT(_r) \ do { \ - unsigned long *pos = (unsigned long *)bprm->p, tmp = 1; \ + target_ulong *pos = (target_ulong *)bprm->p, tmp = 1; \ _r->gpr[3] = bprm->argc; \ _r->gpr[4] = (unsigned long)++pos; \ for (; tmp != 0; pos++) \ |
