mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update Compiler.cpp
Fix cid cast
This commit is contained in:
parent
46578ca23e
commit
c9afa0a2b8
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ struct Compiler
|
|||
|
||||
if (cid >= 0 && cid < 32768)
|
||||
{
|
||||
bytecode.emitAD(LOP_DUPCLOSURE, target, uint16_t(cid));
|
||||
bytecode.emitAD(LOP_DUPCLOSURE, target, int16_t(cid));
|
||||
shared = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue