Skip to content

Commit

Permalink
Trivial 64-bit fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimcha committed Sep 4, 2011
1 parent 5b0c8d5 commit dea92be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/parallelism.d
Original file line number Diff line number Diff line change
Expand Up @@ -3579,7 +3579,7 @@ unittest {
// Test buffer trick in parallel foreach.
abuf = poolInstance.asyncBuf(iota(-1, 1_000_000), 100);
abuf.popFront();
auto bufTrickTest = new int[abuf.length];
auto bufTrickTest = new size_t[abuf.length];
foreach(i, elem; parallel(abuf)) {
bufTrickTest[i] = i;
}
Expand Down

0 comments on commit dea92be

Please sign in to comment.