From 605d5a29c067fa4834340182ab96438673d09a12 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Tue, 9 Jul 2024 08:21:21 +0200 Subject: Fixes (#1659) * Replaced some tabs with spaces * Fixed some signedness warnings * Added more debug info * Fixed an improper alignment * [WRAPPEDWAYLAND] Added return statements to wrappers * [EMU] [AVX] Fixed some issues * [ARM DYNAREC] Fixed some minor warnings * [ARM DYNAREC] Removed unused macro arguments * [EMU] Fixed a noisy warning * [ARM DYNAREC] Removed "empty body" warnings * [EMU] Fixed an opcode in dynarec, non-cosim builds * [LA64 DYNAREC] Minor warning fixes * [LA64 DYNAREC] Fixed empty body warnings * [LA64 DYNAREC] Added parenthesis around assignments in if statements * [LA64 DYNAREC] Fixed missing parenthesis in macro definitions * [RV64 DYNAREC] Fixed minor warnings * [RV64 DYNAREC] Fixed wrong/missing parentheses * [WRAPPER] Fixed the WaylandClient callback signatures --- src/libtools/myalign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtools/myalign.c') diff --git a/src/libtools/myalign.c b/src/libtools/myalign.c index dfa4c0ca..123aa651 100644 --- a/src/libtools/myalign.c +++ b/src/libtools/myalign.c @@ -516,7 +516,7 @@ void UnalignStat64(const void* source, void* dest) struct stat *st = (struct stat*) source; x64st->__pad0 = 0; - memset(x64st->__glibc_reserved, 0, sizeof(x64st->__glibc_reserved)); + memset(x64st->__glibc_reserved, 0, sizeof(x64st->__glibc_reserved)); x64st->st_dev = st->st_dev; x64st->st_ino = st->st_ino; x64st->st_mode = st->st_mode; -- cgit 1.4.1