diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp index d5f9187121..a4692fa1d0 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp @@ -646,7 +646,7 @@ BlitSdma::SubmitCopyRe BuildCopyRectCommand(append, dst, dst_offset, src, src_offset, range); } - uint64_t size = range->x * range->y * range->z; + uint64_t size = static_cast(range->x) * static_cast(range->y) * range->z; std::vector gang_signals(0);