Skip to content

Commit d307ca9

Browse files
Fx1# Please enter the commit message for your changes. Lines starting
1 parent 8c89926 commit d307ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/testing/offset_iterator.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ template <typename Vector>
3737
void TestOffsetConstructor()
3838
{
3939
thrust::offset_iterator<int*> iter0;
40-
ASSERT_EQUAL(iter0.base(), nullptr);
40+
ASSERT_EQUAL(iter0.base(), static_cast<int*>(nullptr));
4141
ASSERT_EQUAL(iter0.offset(), 0);
4242

4343
Vector v{42, 43};

0 commit comments

Comments
 (0)