From f37a0292ac091a8641409b62f140a4ca8792d703 Mon Sep 17 00:00:00 2001 From: Brian Sumner Date: Thu, 16 Feb 2017 08:12:13 -0800 Subject: [PATCH] Use correct format for unsigned long --- test_conformance/half/cl_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/half/cl_utils.c b/test_conformance/half/cl_utils.c index cad7ad72..9d98cad9 100644 --- a/test_conformance/half/cl_utils.c +++ b/test_conformance/half/cl_utils.c @@ -455,7 +455,7 @@ size_t getBufferSize(cl_device_id device_id) } if (result > BUFFER_SIZE) result = BUFFER_SIZE; - log_info("Using const buffer size 0x%lx (%ld)\n", (unsigned long)result, (unsigned long)result); + log_info("Using const buffer size 0x%lx (%lu)\n", (unsigned long)result, (unsigned long)result); err = clGetDeviceInfo (device_id, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(maxGlobalSize), (void *)&maxGlobalSize,