We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fe718 commit 53121a3Copy full SHA for 53121a3
Shared/sdk/CScriptArgReader.h
@@ -479,7 +479,7 @@ class CScriptArgReader
479
ReadNumber(color);
480
481
if (!m_bError)
482
- outValue = static_cast<unsigned int>(color);
+ outValue = static_cast<unsigned long>(static_cast<int64_t>(color));
483
}
484
485
//
@@ -491,7 +491,7 @@ class CScriptArgReader
491
ReadNumber(color, static_cast<lua_Number>(defaultValue));
492
493
494
495
496
497
0 commit comments