diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-09-26 13:07:07 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-09-26 13:07:07 +0200 |
| commit | 4cac721e747ab44819925b9140831dab11ca56b6 (patch) | |
| tree | b1157478d490113b37cb77339398917f53b2cd5b /src | |
| parent | 3fda41cbf66d223dba1da4e2d9d05f31978795bf (diff) | |
| download | box64-4cac721e747ab44819925b9140831dab11ca56b6.tar.gz box64-4cac721e747ab44819925b9140831dab11ca56b6.zip | |
Yeah, that too should help fix build for the untested loogarch64 support
Diffstat (limited to 'src')
| -rwxr-xr-x | src/wrapped/wrappedudev0.c | 2 | ||||
| -rwxr-xr-x | src/wrapped/wrappedudev1.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wrapped/wrappedudev0.c b/src/wrapped/wrappedudev0.c index 06236d71..0ce2b65f 100755 --- a/src/wrapped/wrappedudev0.c +++ b/src/wrapped/wrappedudev0.c @@ -72,7 +72,7 @@ static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt static uintptr_t my_log_fn_fct_##A = 0; \ static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt, x64_va_list_t args) \ { \ - CREATE_VALIST_FROM_VALIST(b, thread_get_emu()->scratch); \ + CREATE_VALIST_FROM_VALIST(args, thread_get_emu()->scratch); \ RunFunction(my_context, my_log_fn_fct_##A, 7, udev, p, f, l, fn, fmt, VARARGS); \ } #endif diff --git a/src/wrapped/wrappedudev1.c b/src/wrapped/wrappedudev1.c index 5853a9a0..0835bcba 100755 --- a/src/wrapped/wrappedudev1.c +++ b/src/wrapped/wrappedudev1.c @@ -72,7 +72,7 @@ static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt static uintptr_t my_log_fn_fct_##A = 0; \ static void my_log_fn_##A(void* udev, int p, void *f, int l, void* fn, void* fmt, x64_va_list_t args) \ { \ - CREATE_VALIST_FROM_VALIST(b, thread_get_emu()->scratch); \ + CREATE_VALIST_FROM_VALIST(args, thread_get_emu()->scratch); \ RunFunction(my_context, my_log_fn_fct_##A, 7, udev, p, f, l, fn, fmt, VARARGS); \ } #endif |