From 448bf7c9e07e8144e0d7056fe5a82904c0f3fded Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 21 Dec 2015 11:50:41 +0100 Subject: [PATCH] Catch another missing PYOPENCL_CL_CASTABLE_THIS --- src/c_wrapper/program.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_wrapper/program.cpp b/src/c_wrapper/program.cpp index 849eaf10..a80686ae 100644 --- a/src/c_wrapper/program.cpp +++ b/src/c_wrapper/program.cpp @@ -92,7 +92,7 @@ program::get_build_info(const device *dev, cl_program_build_info param) const #if PYOPENCL_CL_VERSION >= 0x2000 case CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE: return pyopencl_get_int_info(size_t, ProgramBuild, - this, dev, param); + PYOPENCL_CL_CASTABLE_THIS, dev, param); #endif default: throw clerror("Program.get_build_info", CL_INVALID_VALUE); -- GitLab