about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-22 20:20:44 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-22 20:20:54 +0200
commitcf87ae2e71376a59191bea95f186c4f140978c21 (patch)
treef0e78cb5e13ee05bf05bd5fa9ec047a9a422531b /src/include
parentea443cfa213074b7fa9e5c5edd2e8b79ee844cc8 (diff)
downloadbox64-cf87ae2e71376a59191bea95f186c4f140978c21.tar.gz
box64-cf87ae2e71376a59191bea95f186c4f140978c21.zip
[WRAPPING] Fixed some (very) old issue with SDL2 RWops wrapping
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sdl2rwops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/sdl2rwops.h b/src/include/sdl2rwops.h
index 1b13c091..c66c4787 100644
--- a/src/include/sdl2rwops.h
+++ b/src/include/sdl2rwops.h
@@ -25,8 +25,8 @@ void RWNativeEnd2(SDL2_RWops_t* ops);                           // put emulated
 int isRWops(SDL2_RWops_t* ops); // 1 if ops seems to be a valid RWops, 0 if not
 
 int64_t RWNativeSeek2(SDL2_RWops_t *ops, int64_t offset, int32_t whence);
-uint32_t RWNativeRead2(SDL2_RWops_t* ops, void* ptr, uint32_t size, uint32_t maxnum);
-int32_t RWNativeWrite2(SDL2_RWops_t *ops, const void *ptr, int32_t size, int32_t num);
+size_t RWNativeRead2(SDL2_RWops_t* ops, void* ptr, size_t size, size_t maxnum);
+size_t RWNativeWrite2(SDL2_RWops_t *ops, const void *ptr, size_t size, size_t num);
 int32_t RWNativeClose2(SDL2_RWops_t* ops);
 
 #endif