mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Fix test compilation error on 64-bit.
This commit is contained in:
parent
bf8df92ee4
commit
73283a87f2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue