Skip to content

Commit 0035290

Browse files
authored
Merge pull request #824 from jszuppe/fix-ulong-type
Fix: unsigned long is not fundamental type on Win64
2 parents a47ff93 + 590c814 commit 0035290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_kernel.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ BOOST_AUTO_TEST_CASE(kernel_set_args_mac)
121121
"__kernel void test(unsigned int a, unsigned long b) { }", "test", context
122122
);
123123

124-
unsigned int a;
125-
unsigned long b;
124+
compute::uint_ a;
125+
compute::ulong_ b;
126126

127127
k.set_arg(0, a);
128128
k.set_arg(1, b);

0 commit comments

Comments
 (0)