summaryrefslogtreecommitdiff
path: root/utests/compiler_if_else.cpp
diff options
context:
space:
mode:
authorBenjamin Segovia <devnull@localhost>2012-06-12 18:33:23 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:18:27 -0700
commit645e55a0ac148344ee7e7c5e57f1b8d3b95b4eb5 (patch)
treed5c5a5ae97f750e546d86f9efdd1c2eab925a41b /utests/compiler_if_else.cpp
parent365875acf7114f3ebf5b02f0ece9ef023c9e510c (diff)
downloadbeignet-645e55a0ac148344ee7e7c5e57f1b8d3b95b4eb5.tar.gz
Cleaned up the code from previous unused dependencies Upate the README
Diffstat (limited to 'utests/compiler_if_else.cpp')
-rw-r--r--utests/compiler_if_else.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/compiler_if_else.cpp b/utests/compiler_if_else.cpp
index 62a79175..44b1a87a 100644
--- a/utests/compiler_if_else.cpp
+++ b/utests/compiler_if_else.cpp
@@ -55,8 +55,8 @@ static void compiler_if_else(void)
OCL_MAP_BUFFER(0);
OCL_MAP_BUFFER(1);
for (uint32_t i = 0; i < 16; ++i) {
- OCL_ASSERT(((uint32_t*)buf_data[1])[i] == -2);
- OCL_ASSERT(((uint32_t*)buf_data[0])[i] == 2);
+ OCL_ASSERT(((int32_t*)buf_data[1])[i] == -2);
+ OCL_ASSERT(((int32_t*)buf_data[0])[i] == 2);
}
// Third control flow