diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-01-06 17:06:44 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-01-06 17:06:44 +0100 |
| commit | e7710f59fafba3183d8101aca7fa5638e0b9eb7e (patch) | |
| tree | df6bcfc7b652491b7a51d1d78a9fff139c4ad348 /src/wrapped32/wrappedlibxrender.c | |
| parent | 4039f3c2493e9cfaa0c8656e1b2bee46e79db708 (diff) | |
| download | box64-e7710f59fafba3183d8101aca7fa5638e0b9eb7e.tar.gz box64-e7710f59fafba3183d8101aca7fa5638e0b9eb7e.zip | |
[BOX32] Fixed some signature issues with wrapped libXrender
Diffstat (limited to 'src/wrapped32/wrappedlibxrender.c')
| -rw-r--r-- | src/wrapped32/wrappedlibxrender.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wrapped32/wrappedlibxrender.c b/src/wrapped32/wrappedlibxrender.c index fcef909a..4580e27b 100644 --- a/src/wrapped32/wrappedlibxrender.c +++ b/src/wrapped32/wrappedlibxrender.c @@ -51,8 +51,8 @@ EXPORT void* my32_XRenderFindFormat(x64emu_t* emu, void* dpy, unsigned long mask return kh_value(hash_picformat, k); int r; k = kh_put(picformat, hash_picformat, (uintptr_t)ret, &r); - struct_LiiuL_t* res = calloc(1, sizeof(struct_LiiuL_t)); - to_struct_LiiuL(to_ptrv(res), ret); + struct_LiiwwwwwwwwL_t* res = calloc(1, sizeof(struct_LiiwwwwwwwwL_t)); + to_struct_LiiwwwwwwwwL(to_ptrv(res), ret); kh_value(hash_picformat, k) = res; return res; } @@ -66,8 +66,8 @@ EXPORT void* my32_XRenderFindStandardFormat(x64emu_t* emu, void* dpy, int fmt) return kh_value(hash_picformat, k); int r; k = kh_put(picformat, hash_picformat, (uintptr_t)ret, &r); - struct_LiiuL_t* res = calloc(1, sizeof(struct_LiiuL_t)); - to_struct_LiiuL(to_ptrv(res), ret); + struct_LiiwwwwwwwwL_t* res = calloc(1, sizeof(struct_LiiwwwwwwwwL_t)); + to_struct_LiiwwwwwwwwL(to_ptrv(res), ret); kh_value(hash_picformat, k) = res; return res; } @@ -81,8 +81,8 @@ EXPORT void* my32_XRenderFindVisualFormat(x64emu_t* emu, void* dpy, void* visual return kh_value(hash_picformat, k); int r; k = kh_put(picformat, hash_picformat, (uintptr_t)ret, &r); - struct_LiiuL_t* res = calloc(1, sizeof(struct_LiiuL_t)); - to_struct_LiiuL(to_ptrv(res), ret); + struct_LiiwwwwwwwwL_t* res = calloc(1, sizeof(struct_LiiwwwwwwwwL_t)); + to_struct_LiiwwwwwwwwL(to_ptrv(res), ret); kh_value(hash_picformat, k) = res; return res; } |