Skip to content

Commit c68ffad

Browse files
committed
Try again
1 parent cf45479 commit c68ffad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/natvis/liballoc.natvis

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Item Name="[capacity]" ExcludeView="simple">buf.inner.cap.__0</Item>
88
<ArrayItems>
99
<Size>len</Size>
10-
<ValuePointer>buf.inner.ptr.pointer.pointer</ValuePointer>
10+
<ValuePointer>($T1*)buf.inner.ptr.pointer.pointer</ValuePointer>
1111
</ArrayItems>
1212
</Expand>
1313
</Type>
@@ -23,7 +23,7 @@
2323
<If Condition="i == len">
2424
<Break/>
2525
</If>
26-
<Item>buf.inner.ptr.pointer.pointer[(i + head) % buf.inner.cap.__0]</Item>
26+
<Item>(($T1*)buf.inner.ptr.pointer.pointer)[(i + head) % buf.inner.cap.__0]</Item>
2727
<Exec>i = i + 1</Exec>
2828
</Loop>
2929
</CustomListItems>

0 commit comments

Comments
 (0)