mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- fixed Clang warnings
This commit is contained in:
parent
4a486f5a10
commit
81c7e7671f
2 changed files with 2 additions and 1 deletions
|
@ -302,6 +302,7 @@ const char *GetSampleTypeName(SampleType type)
|
||||||
{
|
{
|
||||||
case SampleType_UInt8: return "Unsigned 8-bit";
|
case SampleType_UInt8: return "Unsigned 8-bit";
|
||||||
case SampleType_Int16: return "Signed 16-bit";
|
case SampleType_Int16: return "Signed 16-bit";
|
||||||
|
default: break;
|
||||||
}
|
}
|
||||||
return "(invalid sample type)";
|
return "(invalid sample type)";
|
||||||
}
|
}
|
||||||
|
|
|
@ -482,7 +482,7 @@ static void GroupData(TArray<loopcollect>& collect, TArray<sectionbuildsector>&
|
||||||
builder.sections.Last().loops.Push(std::move(loop));
|
builder.sections.Last().loops.Push(std::move(loop));
|
||||||
for (auto c: outside[a])
|
for (auto c: outside[a])
|
||||||
{
|
{
|
||||||
if (inside[c] == a)
|
if (inside[c] == (int)a)
|
||||||
{
|
{
|
||||||
auto& iloop = sectloops[c];
|
auto& iloop = sectloops[c];
|
||||||
builder.sections.Last().wallcount += iloop.Size() - 1;
|
builder.sections.Last().wallcount += iloop.Size() - 1;
|
||||||
|
|
Loading…
Reference in a new issue