mirror of https://github.com/ZDoom/gzdoom-gles.git
- Fixed 64 bit compile problem in sc_man_scanner.re.
SVN r596 (trunk)
This commit is contained in:
parent
f618134f15
commit
ba6a3451db
|
@ -324,7 +324,7 @@ newline:
|
||||||
|
|
||||||
normal_token:
|
normal_token:
|
||||||
ScriptPtr = (YYCURSOR >= YYLIMIT) ? ScriptEndPtr : cursor;
|
ScriptPtr = (YYCURSOR >= YYLIMIT) ? ScriptEndPtr : cursor;
|
||||||
sc_StringLen = MIN (ScriptPtr - tok, MAX_STRING_SIZE-1);
|
sc_StringLen = (unsigned int)MIN<size_t> (ScriptPtr - tok, MAX_STRING_SIZE-1);
|
||||||
if (tokens && (sc_TokenType == TK_StringConst || sc_TokenType == TK_NameConst))
|
if (tokens && (sc_TokenType == TK_StringConst || sc_TokenType == TK_NameConst))
|
||||||
{
|
{
|
||||||
sc_StringLen -= 2;
|
sc_StringLen -= 2;
|
||||||
|
|
Loading…
Reference in New Issue