Build fixes for clang

This commit is contained in:
Robert Osfield
2013-10-21 09:54:41 +00:00
parent a68f0f26a8
commit 074eb8e41c
3 changed files with 9 additions and 9 deletions

View File

@@ -171,7 +171,7 @@ bool ConvertImageFormat(unsigned int vtfFormat, int& internalFormat,
supported = true;
// Decode the format
switch (vtfFormat)
switch (static_cast<int>(vtfFormat))
{
case VTF_FORMAT_DEFAULT:
supported = false;