diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2000-04-14 09:41:56 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2000-04-14 09:41:56 +0000 |
commit | 43ea4c20e60aa9f50519b78f48b3b15d59feb255 (patch) | |
tree | 0a933f41b9dfaae6712c582a8040630490749b95 /byterun/hash.c | |
parent | 4b60a954766d56209441a230c6196da1a94716e8 (diff) |
modif de Xavier
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3085 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/hash.c')
-rw-r--r-- | byterun/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/hash.c b/byterun/hash.c index d11c77846..3bccd34d7 100644 --- a/byterun/hash.c +++ b/byterun/hash.c @@ -141,7 +141,7 @@ value hash_variant(char * tag) for (accu = Val_int(0); *tag != 0; tag++) accu = Val_int(223 * Int_val(accu) + *((unsigned char *) tag)); #ifdef ARCH_SIXTYFOUR - accu = accu & Val_int(0x7FFFFFFF); + accu = accu & Val_long(0x7FFFFFFFL); #endif /* Force sign extension of bit 31 for compatibility between 32 and 64-bit platforms */ |