Fix some compiler warnings

This change primarily fixes some -Wconversion warnings from gcc, but
also silences a warning triggered in glslang_tab.cpp, which is generated
code from bison.

There are still several GCC conversion warnings in Types.h due to the
use of bit fields that will be resolved in a future change.
This commit is contained in:
Nathaniel Cesario 2023-11-07 13:15:48 -07:00 committed by arcady-lunarg
parent b820431a2c
commit 19d541a91d
4 changed files with 9 additions and 4 deletions

View file

@ -240,8 +240,8 @@ public:
OperandParameters operands;
protected:
int typePresent : 1;
int resultPresent : 1;
bool typePresent : 1;
bool resultPresent : 1;
};
// The set of objects that hold all the instruction/operand