diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-13 11:19:12 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-13 11:19:12 +0200 |
| commit | 192347ea3a997c4a1c7c1f5c193c72d3d0d6b411 (patch) | |
| tree | c91e4a9f7ca15f1e7958151e615ba8e3a6e5ee1e /src | |
| parent | d618cfdf0e3804807dc21c497e213c94300f45ec (diff) | |
| download | box64-192347ea3a997c4a1c7c1f5c193c72d3d0d6b411.tar.gz box64-192347ea3a997c4a1c7c1f5c193c72d3d0d6b411.zip | |
[BOX32] More small 32bits signature adjustments
Diffstat (limited to 'src')
| -rwxr-xr-x | src/wrapped32/wrappedlibc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wrapped32/wrappedlibc.c b/src/wrapped32/wrappedlibc.c index d1aff364..459c1fd4 100755 --- a/src/wrapped32/wrappedlibc.c +++ b/src/wrapped32/wrappedlibc.c @@ -884,16 +884,16 @@ EXPORT int my32__vsscanf(x64emu_t* emu, void* buff, void* fmt, void* b) __attrib EXPORT int my32_sscanf(x64emu_t* emu, void* buff, void* fmt, void* b) __attribute__((alias("my32_vsscanf"))); EXPORT int my32___isoc99_sscanf(x64emu_t* emu, void* stream, void* fmt, void* b) __attribute__((alias("my32_vsscanf"))); -EXPORT int my32_vsnprintf(x64emu_t* emu, void* buff, uint32_t s, void * fmt, void * b, va_list V) { +EXPORT int my32_vsnprintf(x64emu_t* emu, void* buff, size_t s, void * fmt, void * b) { // need to align on arm myStackAlign32((const char*)fmt, (uint32_t*)b, emu->scratch); PREPARE_VALIST_32; int r = vsnprintf(buff, s, fmt, VARARGS_32); return r; } -EXPORT int my32___vsnprintf(x64emu_t* emu, void* buff, uint32_t s, void * fmt, void * b, va_list V) __attribute__((alias("my32_vsnprintf"))); -EXPORT int my32___vsnprintf_chk(x64emu_t* emu, void* buff, uint32_t s, void * fmt, void * b, va_list V) __attribute__((alias("my32_vsnprintf"))); -EXPORT int my32_vasprintf(x64emu_t* emu, void* strp, void* fmt, void* b, va_list V) +EXPORT int my32___vsnprintf(x64emu_t* emu, void* buff, size_t s, void * fmt, void * b) __attribute__((alias("my32_vsnprintf"))); +EXPORT int my32___vsnprintf_chk(x64emu_t* emu, void* buff, size_t s, void * fmt, void * b) __attribute__((alias("my32_vsnprintf"))); +EXPORT int my32_vasprintf(x64emu_t* emu, void* strp, void* fmt, void* b) { // need to align on arm myStackAlign32((const char*)fmt, (uint32_t*)b, emu->scratch); @@ -901,7 +901,7 @@ EXPORT int my32_vasprintf(x64emu_t* emu, void* strp, void* fmt, void* b, va_list int r = vasprintf(strp, fmt, VARARGS_32); return r; } -EXPORT int my32___vasprintf_chk(x64emu_t* emu, void* strp, int flags, void* fmt, void* b, va_list V) +EXPORT int my32___vasprintf_chk(x64emu_t* emu, void* strp, int flags, void* fmt, void* b) { // need to align on arm myStackAlign32((const char*)fmt, (uint32_t*)b, emu->scratch); |