Skip to content
Snippets Groups Projects
Commit b1402b37 authored by Bing Xu's avatar Bing Xu Committed by Tianqi Chen
Browse files

[Compile] Fix compile issue with LLVM 8.0 (#181)

parent 2ce5277f
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ Stmt MakeCrossThreadReduction(
cond = cond && v;
}
Array<Expr> freduce_args;
freduce_args.push_back(make_const(UInt(32), size));
freduce_args.push_back(make_const(UInt(32), static_cast<uint32_t>(size)));
for (size_t i = 0; i < size; ++i) {
freduce_args.push_back(reduces[0]->source[i]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment