diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-08-11 20:35:58 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-08-11 20:35:58 +0000 |
commit | 9dfa5b421dcb7f213163d2bd80549d6ca4bc74a6 (patch) | |
tree | 85c52985df5c899b9cf3c6595519e4e3439351cc /linux-user | |
parent | 9da8ba18e60273b9925991712883e54c16d4b626 (diff) | |
download | qemu-9dfa5b421dcb7f213163d2bd80549d6ca4bc74a6.tar.gz qemu-9dfa5b421dcb7f213163d2bd80549d6ca4bc74a6.tar.bz2 qemu-9dfa5b421dcb7f213163d2bd80549d6ca4bc74a6.zip |
64 bit fixes (Falk Hueffner)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@365 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index 46abf53d89..0d2e301878 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -152,7 +152,7 @@ void target_to_host_sigset(sigset_t *d, const target_sigset_t *s) ((unsigned long *)d)[i] = tswapl(s->sig[i]); } #elif TARGET_LONG_BITS == 32 && HOST_LONG_BITS == 64 && TARGET_NSIG_WORDS == 2 - ((unsigned long *)d)[0] = sigmask | (tswapl(s->sig[1]) << 32); + ((unsigned long *)d)[0] = sigmask | ((unsigned long)tswapl(s->sig[1]) << 32); #else #error target_to_host_sigset #endif /* TARGET_LONG_BITS */ |