From: SilverCamel <43945395+SilverCamel@users.noreply.github.com> Date: Tue, 12 Feb 2019 15:12:08 +0000 (+0530) Subject: Fix bugs encountered while building with VS 2017 64bit (#39) X-Git-Tag: upstream/v2022.01.04~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21aa894095a3d3ac7bb5c6ddb421382019969d62;p=platform%2Fupstream%2FOpenCL-ICD-Loader.git Fix bugs encountered while building with VS 2017 64bit (#39) --- diff --git a/test/driver_stub/cl.c b/test/driver_stub/cl.c index 28f626a..8021923 100644 --- a/test/driver_stub/cl.c +++ b/test/driver_stub/cl.c @@ -514,7 +514,8 @@ clCreateImage2D(cl_context context , image_width, image_height, image_row_pitch, - host_ptr); + host_ptr, + errcode_ret); test_icd_stub_log("Value returned: %p\n", obj); return obj; diff --git a/test/loader_test/test_create_calls.c b/test/loader_test/test_create_calls.c index 6160fb4..dfce9c2 100644 --- a/test/loader_test/test_create_calls.c +++ b/test/loader_test/test_create_calls.c @@ -1,4 +1,5 @@ #include +#include #define CL_USE_DEPRECATED_OPENCL_1_0_APIS #define CL_USE_DEPRECATED_OPENCL_1_1_APIS