Skip to content

Commit

Permalink
Needs explicit casting for ulong -> int.
Browse files Browse the repository at this point in the history
Related to vibe-d#3, fixes for changeset d7ac37b
  • Loading branch information
simendsjo committed Apr 28, 2012
1 parent b660e9e commit c85490c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/templ/diet.d
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ private int indentLevel(string s, string indent)
int l = 0;
while( l+indent.length <= s.length && s[l .. l+indent.length] == indent )
l += indent.length;
return l / indent.length;
return cast(int)(l / indent.length);
}

private int indentLevel(in Line[] ln, string indent)
Expand Down

0 comments on commit c85490c

Please sign in to comment.