mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
DIRECTOR: Fix signed/unsigned comparison
This commit is contained in:
parent
bd8eb63e9a
commit
cfa0be7e35
@ -431,7 +431,7 @@ static const YY_CHAR yy_ec[256] =
|
||||
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 2, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1
|
||||
@ -771,7 +771,7 @@ static const char *inputbuffer;
|
||||
static uint inputlen;
|
||||
|
||||
// Push lines in stack
|
||||
static void pushLine(int num) {
|
||||
static void pushLine(uint num) {
|
||||
if (num > inputlen)
|
||||
return;
|
||||
|
||||
|
@ -46,7 +46,7 @@ static const char *inputbuffer;
|
||||
static uint inputlen;
|
||||
|
||||
// Push lines in stack
|
||||
static void pushLine(int num) {
|
||||
static void pushLine(uint num) {
|
||||
if (num > inputlen)
|
||||
return;
|
||||
|
||||
|
@ -400,9 +400,9 @@ public:
|
||||
ScriptData *_currentAssembly;
|
||||
LexerDefineState _indef;
|
||||
LexerDefineState _indefStore;
|
||||
int _linenumber;
|
||||
int _colnumber;
|
||||
int _bytenumber;
|
||||
uint _linenumber;
|
||||
uint _colnumber;
|
||||
uint _bytenumber;
|
||||
const char *_lines[3];
|
||||
bool _inFactory;
|
||||
Common::Array<RepeatBlock *> _repeatStack;
|
||||
|
Loading…
x
Reference in New Issue
Block a user