- Fixed 64 bit compile problem in sc_man_scanner.re.

SVN r596 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-12 08:23:51 +00:00
parent f618134f15
commit ba6a3451db
1 changed files with 1 additions and 1 deletions

View File

@ -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;