From 5f0cbcf26d398b4a7e3ae6604fa16a3a75932159 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 17 Nov 2024 11:45:00 +0100 Subject: [WRAPPER] Fixed an isue with __iso99_swcanf wrapped function --- src/wrapped/wrappedlibc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index eb1911bd..20ba4e24 100644 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -1035,7 +1035,7 @@ EXPORT int my___isoc99_sscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* EXPORT int my___isoc99_swscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* b) { - myStackAlignScanf(emu, (const char*)fmt, b, emu->scratch, 2); + myStackAlignScanfW(emu, (const char*)fmt, b, emu->scratch, 2); PREPARE_VALIST; return vswscanf(stream, fmt, VARARGS); -- cgit 1.4.1