about summary refs log tree commit diff stats
path: root/src/include/sdl2align32.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-30 17:41:47 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-30 17:41:47 +0200
commit2b0c8d45faa03b31802b797df2094add702dc20c (patch)
tree1eb0d67ee6782a0e02a2f9d36d290894d8ef0d6f /src/include/sdl2align32.h
parentc88cf6359e4968bd5449c85f2ca7890f2b0c473f (diff)
downloadbox64-2b0c8d45faa03b31802b797df2094add702dc20c.tar.gz
box64-2b0c8d45faa03b31802b797df2094add702dc20c.zip
[BOX32][WRAPPER] Added 32bits wrapping for SDL2_image
Diffstat (limited to 'src/include/sdl2align32.h')
-rw-r--r--src/include/sdl2align32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/sdl2align32.h b/src/include/sdl2align32.h
index c1abac08..5356df81 100644
--- a/src/include/sdl2align32.h
+++ b/src/include/sdl2align32.h
@@ -868,14 +868,14 @@ typedef struct my_SDL2_RWops_s {
     void* hidden[3];
 } my_SDL2_RWops_t;
 
-typedef struct __attribute__((packed)) my_SDL2_RWops_32_s {
+typedef struct my_SDL2_RWops_32_s {
     ptr_t size;
     ptr_t seek;
     ptr_t read;
     ptr_t write;
     ptr_t close;
     uint32_t type;
-    void* hidden[3]; // not converting hidden, just moving it
+    ptr_t hidden[3]; // not converting hidden, just moving it
 } my_SDL2_RWops_32_t;
 
 void inplace_SDL2_DisplayMode_to_64(void* a);