mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
- Fix signed/unsigned mismatch warned by GCC.
SVN r3450 (trunk)
This commit is contained in:
parent
849d6724d8
commit
6f12a6e8bb
1 changed files with 5 additions and 2 deletions
|
@ -5255,6 +5255,9 @@ int DLevelScript::RunScript ()
|
||||||
STACK(1) = !STACK(1);
|
STACK(1) = !STACK(1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case PCD_NEGATEBINARY:
|
case PCD_NEGATEBINARY:
|
||||||
STACK(1) = ~STACK(1);
|
STACK(1) = ~STACK(1);
|
||||||
break;
|
break;
|
||||||
|
@ -7400,11 +7403,11 @@ static void addDefered (level_info_t *i, acsdefered_t::EType type, int script, c
|
||||||
def->next = i->defered;
|
def->next = i->defered;
|
||||||
def->type = type;
|
def->type = type;
|
||||||
def->script = script;
|
def->script = script;
|
||||||
for (j = 0; j < countof(def->args) && j < argcount; ++j)
|
for (j = 0; (size_t)j < countof(def->args) && j < argcount; ++j)
|
||||||
{
|
{
|
||||||
def->args[j] = args[j];
|
def->args[j] = args[j];
|
||||||
}
|
}
|
||||||
while (j < countof(def->args))
|
while ((size_t)j < countof(def->args))
|
||||||
{
|
{
|
||||||
def->args[j++] = 0;
|
def->args[j++] = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue