diff options
author | wchang0222%aol.com <devnull@localhost> | 2004-04-29 00:40:05 +0000 |
---|---|---|
committer | wchang0222%aol.com <devnull@localhost> | 2004-04-29 00:40:05 +0000 |
commit | ed18621a76c6a08858a4fce0411ffd9c87e3fb3e (patch) | |
tree | 49a135d764f3cad3a86ba4d320be90fbe005bcf0 | |
parent | 3a357177f5163bd75681f60f390758cbc7e4f4db (diff) | |
download | nspr-hg-ed18621a76c6a08858a4fce0411ffd9c87e3fb3e.tar.gz |
Bugzilla bug 123403: LL_INIT should use PR_UINT32 because the hi and lo
fields of the PRInt64 structure are PRUint32. The patch is contributed by
timeless@bemail.org. r=wtc.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r-- | pr/include/prlong.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/include/prlong.h b/pr/include/prlong.h index 78240092..f0e81506 100644 --- a/pr/include/prlong.h +++ b/pr/include/prlong.h @@ -202,9 +202,9 @@ NSPR_API(PRUint64) LL_MaxUint(void); #else /* !HAVE_LONG_LONG */ #ifdef IS_LITTLE_ENDIAN -#define LL_INIT(hi, lo) {PR_INT32(lo), PR_INT32(hi)} +#define LL_INIT(hi, lo) {PR_UINT32(lo), PR_UINT32(hi)} #else -#define LL_INIT(hi, lo) {PR_INT32(hi), PR_INT32(lo)} +#define LL_INIT(hi, lo) {PR_UINT32(hi), PR_UINT32(lo)} #endif #define LL_IS_ZERO(a) (((a).hi == 0) && ((a).lo == 0)) |