diff options
| author | amy <[email protected]> | 2026-05-07 01:25:27 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-05-07 01:25:27 -0500 |
| commit | 215a31d4eef417e1f6a29fba23eab830f7630634 (patch) | |
| tree | a4f3eee382b9e083dbdea5f9597ff8e4020df4e2 /src/thread.c | |
| parent | 5aa3f628e4e7a74800cdeb9452875edb62c03d63 (diff) | |
| parent | ddc618791543a4acf804151b3757faf4f6c9b7b2 (diff) | |
Merge pull request #9 from stilic/state-copy-changes
add 32bit support
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index 1e58aef..cd2eb5f 100644 --- a/src/thread.c +++ b/src/thread.c @@ -453,7 +453,8 @@ int _buffer_func_wrapper(lua_State* L){ }
int l_buffer_index(lua_State* L){
- uint64_t len, hash;
+ size_t len;
+ uint64_t hash;
struct thread_buffer *buffer = lua_touserdata(L, 1);
const char* str = luaL_tolstring(L, 2, &len);
|
