Skip to content

Commit

Permalink
Merge pull request #2783 from SunBlack/Wnull-conversion
Browse files Browse the repository at this point in the history
Fix warning: implicit conversion of NULL constant to 'Ncv32u' (aka 'unsigned int') [-Wnull-conversion]
  • Loading branch information
taketwo authored Jan 18, 2019
2 parents c49b3f7 + 905d1e1 commit 9b5e450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpu/people/src/cuda/nvidia/NPP_staging.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ NCVStatus compactVector_32u_device(Ncv32u *d_src, Ncv32u srcLen,
(d_hierSums.ptr() + partSumOffsets[i],
partSumNums[i], NULL,
d_hierSums.ptr() + partSumOffsets[i+1],
NULL);
0);
}
else
{
Expand All @@ -1437,7 +1437,7 @@ NCVStatus compactVector_32u_device(Ncv32u *d_src, Ncv32u srcLen,
(d_hierSums.ptr() + partSumOffsets[i],
partSumNums[i], NULL,
NULL,
NULL);
0);
}

ncvAssertCUDALastErrorReturn(NPPST_CUDA_KERNEL_EXECUTION_ERROR);
Expand Down

0 comments on commit 9b5e450

Please sign in to comment.