Skip to content

Commit

Permalink
Update deps/lua/src/lstring.c
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Söderqvist <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
  • Loading branch information
madolson and zuiderkwast authored Oct 15, 2024
1 parent ef6a217 commit 4c749ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/lua/src/lstring.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ uint32_t murmur32(const uint8_t* key, size_t len, uint32_t seed) {

TString *luaS_newlstr (lua_State *L, const char *str, size_t l) {
GCObject *o;
unsigned int h = murmur32((uint8_t *)str, l, (uint32_t)l); /* seed */
unsigned int h = murmur32((uint8_t *)str, l, (uint32_t)l);
for (o = G(L)->strt.hash[lmod(h, G(L)->strt.size)];
o != NULL;
o = o->gch.next) {
Expand Down

0 comments on commit 4c749ce

Please sign in to comment.