Module: wine Branch: master Commit: b77255f88b1f54c4ceea5713367f2fc82030f2bc URL: https://gitlab.winehq.org/wine/wine/-/commit/b77255f88b1f54c4ceea5713367f2fc...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Wed Dec 14 22:06:07 2022 +0200
jscript: Fix refcount trace's long type format specifier.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
---
dlls/jscript/dispex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c index 06e44fcb129..2c35f2ae9cc 100644 --- a/dlls/jscript/dispex.c +++ b/dlls/jscript/dispex.c @@ -2247,7 +2247,7 @@ void jsdisp_free(jsdisp_t *obj) jsdisp_t *jsdisp_addref(jsdisp_t *jsdisp) { ULONG ref = ++jsdisp->ref; - TRACE("(%p) ref=%d\n", jsdisp, ref); + TRACE("(%p) ref=%ld\n", jsdisp, ref); return jsdisp; }
@@ -2255,7 +2255,7 @@ void jsdisp_release(jsdisp_t *jsdisp) { ULONG ref = --jsdisp->ref;
- TRACE("(%p) ref=%d\n", jsdisp, ref); + TRACE("(%p) ref=%ld\n", jsdisp, ref);
if(!ref) jsdisp_free(jsdisp);