mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-26 13:10:59 +00:00
Quiet two more warnings from GCC
This commit is contained in:
parent
3cabd5f0ed
commit
96a0bee651
2 changed files with 2 additions and 2 deletions
|
@ -2185,7 +2185,7 @@ void FParser::SF_SetLineMonsterBlocking(void)
|
||||||
{
|
{
|
||||||
if (CheckArgs(2))
|
if (CheckArgs(2))
|
||||||
{
|
{
|
||||||
int blocking = intvalue(t_argv[1]) ? ML_BLOCKMONSTERS : 0;
|
int blocking = intvalue(t_argv[1]) ? (int)ML_BLOCKMONSTERS : 0;
|
||||||
int tag=intvalue(t_argv[0]);
|
int tag=intvalue(t_argv[0]);
|
||||||
|
|
||||||
FLineIdIterator itr(tag);
|
FLineIdIterator itr(tag);
|
||||||
|
|
|
@ -3137,7 +3137,7 @@ ExpEmit FxArrayElement::Emit(VMFunctionBuilder *build)
|
||||||
{
|
{
|
||||||
shiftbits++;
|
shiftbits++;
|
||||||
}
|
}
|
||||||
assert(1 << shiftbits == arraytype->ElementSize && "Element sizes other than power of 2 are not implemented");
|
assert(1u << shiftbits == arraytype->ElementSize && "Element sizes other than power of 2 are not implemented");
|
||||||
build->Emit(OP_BOUND, indexv.RegNum, arraytype->ElementCount);
|
build->Emit(OP_BOUND, indexv.RegNum, arraytype->ElementCount);
|
||||||
if (shiftbits > 0)
|
if (shiftbits > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue