- 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

View file

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