Skip to content

Commit

Permalink
Merge pull request #824 from jszuppe/fix-ulong-type
Browse files Browse the repository at this point in the history
Fix: unsigned long is not fundamental type on Win64
  • Loading branch information
jszuppe authored Feb 11, 2019
2 parents a47ff93 + 590c814 commit 0035290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ BOOST_AUTO_TEST_CASE(kernel_set_args_mac)
"__kernel void test(unsigned int a, unsigned long b) { }", "test", context
);

unsigned int a;
unsigned long b;
compute::uint_ a;
compute::ulong_ b;

k.set_arg(0, a);
k.set_arg(1, b);
Expand Down

0 comments on commit 0035290

Please sign in to comment.