Skip to content

Commit

Permalink
Fixed compile issue on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Sep 22, 2023
1 parent f242138 commit 6ca26ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lua/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ static int lua_math_crc32(lua_State *L) {
return 0;

const char *data = lua_tostring(L, -1);
lua_pushinteger(L, crc32(data, (int)luaL_len(L, -1)));
lua_pushinteger(L, crc32((const vxt_byte*)data, (int)luaL_len(L, -1)));
return 1;
}

Expand Down

0 comments on commit 6ca26ef

Please sign in to comment.