summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qcl/tst_qcl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qcl/tst_qcl.cpp b/tests/auto/qcl/tst_qcl.cpp
index 6f887ca..2e8a319 100644
--- a/tests/auto/qcl/tst_qcl.cpp
+++ b/tests/auto/qcl/tst_qcl.cpp
@@ -294,7 +294,7 @@ void tst_QCL::argumentPassing()
QCOMPARE(bufi[0], cl_int(7));
QCLKernel storeUInt = program.createKernel("storeUInt");
- storeInt(buffer, cl_uint(9));
+ storeUInt(buffer, cl_uint(9));
buffer.read(&bufui, sizeof(cl_uint));
QCOMPARE(bufui, cl_uint(9));
@@ -319,7 +319,7 @@ void tst_QCL::argumentPassing()
QCOMPARE(buf[1], 4.0f);
QCLKernel storeVec2i = program.createKernel("storeVec2i");
- storeVec2(buffer, QPoint(6, -7));
+ storeVec2i(buffer, QPoint(6, -7));
buffer.read(bufi, sizeof(cl_int) * 2);
QCOMPARE(bufi[0], cl_int(6));
QCOMPARE(bufi[1], cl_int(-7));