Use 1ll as uint64_t.

Signed-off-by: Yang Rong <[email protected]>
---
 utests/compiler_ctz.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utests/compiler_ctz.cpp b/utests/compiler_ctz.cpp
index 88f2109..d84fdad 100644
--- a/utests/compiler_ctz.cpp
+++ b/utests/compiler_ctz.cpp
@@ -19,7 +19,7 @@ void test(const char *kernel_name)
 
   OCL_MAP_BUFFER(0);
   for (uint32_t i = 0; i < n; ++i) {
-      ((U*)buf_data[0])[i] = 1l << i;
+      ((U*)buf_data[0])[i] = 1ll << i;
       if(i == sizeof(U)*8)
         ((U*)buf_data[0])[i] = 0;
   }
-- 
2.1.4

_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to