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:
alexey.lysiuk 2017-01-21 14:47:10 +02:00
parent 45d3b58cc6
commit 2358b65921

View file

@ -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))
{ {