Skip to content

Commit

Permalink
fix narrow cast
Browse files Browse the repository at this point in the history
  • Loading branch information
hana-alice committed Sep 22, 2023
1 parent 1043f8c commit 074ba48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void addRasterViewImpl(
auto &pass = get(RasterPassTag{}, passID, renderGraph);
CC_EXPECTS(subpass.subpassID < num_vertices(pass.subpassGraph));
auto &subpassData = get(SubpassGraph::SubpassTag{}, pass.subpassGraph, subpass.subpassID);
const auto slotID = subpass.rasterViews.size();
const auto slotID = static_cast<uint32_t>(subpass.rasterViews.size());
CC_EXPECTS(subpass.rasterViews.size() == subpassData.rasterViews.size());
auto nameIter = subpassData.rasterViews.find(name);

Expand Down

0 comments on commit 074ba48

Please sign in to comment.