Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r970:705cfd3ba3a9
Date: 2014-03-10 18:17 +0100
http://bitbucket.org/pypy/stmgc/changeset/705cfd3ba3a9/

Log:    Use "long" here, like the result type of stm_hash().

diff --git a/c7/stm/hash_id.c b/c7/stm/hash_id.c
--- a/c7/stm/hash_id.c
+++ b/c7/stm/hash_id.c
@@ -55,7 +55,7 @@
     return id_or_identityhash(obj, true);
 }
 
-void stm_set_prebuilt_identityhash(object_t *obj, uint64_t hash)
+void stm_set_prebuilt_identityhash(object_t *obj, long hash)
 {
     struct object_s *realobj = (struct object_s *)
         REAL_ADDRESS(stm_object_pages, obj);
diff --git a/c7/stmgc.h b/c7/stmgc.h
--- a/c7/stmgc.h
+++ b/c7/stmgc.h
@@ -267,7 +267,7 @@
    controlled for each prebuilt object individually.  (Useful uor PyPy) */
 long stm_identityhash(object_t *obj);
 long stm_id(object_t *obj);
-void stm_set_prebuilt_identityhash(object_t *obj, uint64_t hash);
+void stm_set_prebuilt_identityhash(object_t *obj, long hash);
 
 /* Returns 1 if the object can still move (it's in the nursery), or 0
    otherwise.  After a minor collection no object can move any more. */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to