Skip to content

Commit 787b48b

Browse files
committed
Unused variable
1 parent b7d5417 commit 787b48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcudacxx/include/cuda/__random/pcg_engine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class __pcg_uint128_fallback
138138

139139
_CCCL_API constexpr bool operator>(int __x) const noexcept
140140
{
141-
return __hi_ != 0 || __lo_ > 0;
141+
return __hi_ != 0 || __lo_ > static_cast<::cuda::std::uint64_t>(__x);
142142
}
143143

144144
_CCCL_API constexpr friend bool operator==(__pcg_uint128_fallback __lhs, __pcg_uint128_fallback __rhs) noexcept

0 commit comments

Comments
 (0)