Skip to content

Commit 438f5d2

Browse files
author
Dan Vu
committed
Fixing windows error
1 parent 3bebd15 commit 438f5d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dsymbol/src/dsymbol/ufcs.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private const(Token)* findUFCSBaseToken( const(Token)[] tokens)
7171
int depth = 0;
7272

7373
// Walk backwards to skip nested parentheses/brackets/braces
74-
for (long i = tokens.length - 1; i >= 0; i--)
74+
for (size_t i = tokens.length; i-- > 0;)
7575
{
7676
auto t = tokens[i].type;
7777

0 commit comments

Comments
 (0)