Skip to content

Commit 11e57ef

Browse files
committed
---
yaml --- r: 6365 b: refs/heads/master c: f597971 h: refs/heads/master i: 6363: e889035 v: v3
1 parent b161e93 commit 11e57ef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 8925875ccb634f04c8495de8a36a81a858b0706e
2+
refs/heads/master: f597971441f99e3d0f6673879478566e79f09111

trunk/src/rt/rust_shape.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace shape {
2727

2828
typedef unsigned long tag_variant_t;
2929
typedef unsigned long tag_align_t;
30+
typedef unsigned long ref_cnt_t;
3031

3132
// Constants
3233

@@ -888,7 +889,7 @@ data<T,U>::walk_box_contents() {
888889
typename U::template data<uint8_t *>::t box_ptr = bump_dp<uint8_t *>(dp);
889890

890891
U ref_count_dp(box_ptr);
891-
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));
892893
static_cast<T *>(this)->walk_box_contents(sub, ref_count_dp);
893894
}
894895

0 commit comments

Comments
 (0)