From aceb1fae07f41c2632bca23e549ce0e67b602dd8 Mon Sep 17 00:00:00 2001 From: Xuelian Bai Date: Wed, 6 Jul 2022 08:49:05 +0800 Subject: [PATCH] Fix build error in 64-bit Use PRId64 for both 32-bit long long int and 64-bit long int. Change-Id: Ie0049ae29769cea90198c76d108980eacd0409af --- src/modules/coregl_tracepath_egl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/coregl_tracepath_egl.c b/src/modules/coregl_tracepath_egl.c index 24f5131..51a831b 100644 --- a/src/modules/coregl_tracepath_egl.c +++ b/src/modules/coregl_tracepath_egl.c @@ -6,6 +6,7 @@ #include #include +#include Mutex ctx_access_mutex = MUTEX_INITIALIZER; Ctx_Data *ctx_data = NULL; @@ -1609,7 +1610,7 @@ tracepath_eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime { EGLint ret = EGL_FALSE; - _COREGL_TRACEPATH_FUNC_BEGIN("(%p, %p, %d, %lld)", dpy, sync, flags, timeout); + _COREGL_TRACEPATH_FUNC_BEGIN("(%p, %p, %d, %" PRId64 ")", dpy, sync, flags, timeout); ret = _orig_tracepath_eglClientWaitSync(dpy, sync, flags, timeout); goto finish; -- 2.7.4