Alexandre Julliard : opencl: Fix printf format warnings on 64-bit.

Alexandre Julliard julliard at winehq.org
Thu Jan 27 15:36:17 CST 2022


Module: wine
Branch: master
Commit: 6d078f6852655a4833508a6618ba3dc844c9db06
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=6d078f6852655a4833508a6618ba3dc844c9db06

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan 27 17:55:55 2022 +0100

opencl: Fix printf format warnings on 64-bit.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/opencl/pe_wrappers.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/opencl/pe_wrappers.c b/dlls/opencl/pe_wrappers.c
index 5fde6a8b852..158f255d4e6 100644
--- a/dlls/opencl/pe_wrappers.c
+++ b/dlls/opencl/pe_wrappers.c
@@ -85,7 +85,7 @@ cl_int WINAPI clGetPlatformInfo( cl_platform_id platform, cl_platform_info name,
 {
     cl_int ret;
 
-    TRACE( "(%p, %#x, %ld, %p, %p)\n", platform, name, size, value, ret_size );
+    TRACE( "(%p, %#x, %Id, %p, %p)\n", platform, name, size, value, ret_size );
 
     if (name == CL_PLATFORM_EXTENSIONS)
     {
@@ -128,7 +128,7 @@ cl_int WINAPI clGetDeviceInfo( cl_device_id device, cl_device_info name,
 {
     cl_int ret;
 
-    TRACE( "(%p, %#x, %ld, %p, %p)\n", device, name, size, value, ret_size );
+    TRACE( "(%p, %#x, %Id, %p, %p)\n", device, name, size, value, ret_size );
 
     if (name == CL_DEVICE_EXTENSIONS)
     {




More information about the wine-cvs mailing list