mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Fixed compiler warning reported by GGC/Clang
No more 'warning: comparison of integers of different signs: int and unsigned long'
This commit is contained in:
parent
45d3b58cc6
commit
2358b65921
1 changed files with 1 additions and 1 deletions
|
@ -1427,7 +1427,7 @@ FString ZCCCompiler::FlagsToString(uint32_t flags)
|
||||||
const char *flagnames[] = { "native", "static", "private", "protected", "latent", "final", "meta", "action", "deprecated", "readonly", "funcconst", "abstract", "extension", "virtual", "override", "transient", "vararg" };
|
const char *flagnames[] = { "native", "static", "private", "protected", "latent", "final", "meta", "action", "deprecated", "readonly", "funcconst", "abstract", "extension", "virtual", "override", "transient", "vararg" };
|
||||||
FString build;
|
FString build;
|
||||||
|
|
||||||
for (int i = 0; i < countof(flagnames); i++)
|
for (size_t i = 0; i < countof(flagnames); i++)
|
||||||
{
|
{
|
||||||
if (flags & (1 << i))
|
if (flags & (1 << i))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue