mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
fix build
This commit is contained in:
@@ -60,7 +60,7 @@ void luaS_share (TString *ts) {
|
|||||||
if (ts == NULL || isshared(ts))
|
if (ts == NULL || isshared(ts))
|
||||||
return;
|
return;
|
||||||
makeshared(ts);
|
makeshared(ts);
|
||||||
ts->id = ATOM_DEC(&STRID);
|
ts->id = ATOM_FDEC(&STRID)-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) {
|
unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user