Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 4fc2afb

Browse files
committed
correct mistake which causes idx to be inferrred as int
1 parent 50a39da commit 4fc2afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3161,7 +3161,7 @@ bool _ArrayEq(T1, T2)(T1[] a1, T2[] a2)
31613161

31623162
// This is function is used as a compiler intrinsic and explicitly written
31633163
// in a lowered flavor to use as few CTFE instructions as possible.
3164-
auto idx = 0;
3164+
size_t idx = 0;
31653165
auto length = a1.length;
31663166

31673167
for(;idx < length;++idx)

0 commit comments

Comments
 (0)