We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b161e93 commit 11e57efCopy full SHA for 11e57ef
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 8925875ccb634f04c8495de8a36a81a858b0706e
+refs/heads/master: f597971441f99e3d0f6673879478566e79f09111
trunk/src/rt/rust_shape.h
@@ -27,6 +27,7 @@ namespace shape {
27
28
typedef unsigned long tag_variant_t;
29
typedef unsigned long tag_align_t;
30
+typedef unsigned long ref_cnt_t;
31
32
// Constants
33
@@ -888,7 +889,7 @@ data<T,U>::walk_box_contents() {
888
889
typename U::template data<uint8_t *>::t box_ptr = bump_dp<uint8_t *>(dp);
890
891
U ref_count_dp(box_ptr);
- T sub(*static_cast<T *>(this), ref_count_dp + sizeof(uint32_t));
892
+ T sub(*static_cast<T *>(this), ref_count_dp + sizeof(ref_cnt_t));
893
static_cast<T *>(this)->walk_box_contents(sub, ref_count_dp);
894
}
895
0 commit comments