mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Fixed 64 bit compile problem in sc_man_scanner.re.
SVN r596 (trunk)
This commit is contained in:
parent
f618134f15
commit
ba6a3451db
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ newline:
|
|||
|
||||
normal_token:
|
||||
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))
|
||||
{
|
||||
sc_StringLen -= 2;
|
||||
|
|
Loading…
Reference in a new issue