Skip to content

Commit

Permalink
Merge pull request #79 from jmdavis/fix
Browse files Browse the repository at this point in the history
Fix test compilation error in std.algorithm on 64-bit.
  • Loading branch information
andralex committed Jun 5, 2011
2 parents bf8df92 + 73283a8 commit 3afff91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/algorithm.d
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 3afff91

Please sign in to comment.