Skip to content

Commit

Permalink
Fix test compilation error on 64-bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdavis committed Jun 5, 2011
1 parent bf8df92 commit 73283a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/algorithm.d
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,7 @@ unittest
foreach (word; splitter(strip(line))) {
if (word in dictionary) continue; // Nothing to do
auto newID = dictionary.length;
dictionary[to!string(word)] = newID;
dictionary[to!string(word)] = cast(uint)newID;
}
}
assert(dictionary.length == 5);
Expand Down

0 comments on commit 73283a8

Please sign in to comment.