From ab284f7996c06fd3ba19bba2b8c8417dcd228c21 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Lortie Date: Sun, 26 Jan 2020 14:02:16 -0500 Subject: [PATCH] Fixed enumeral mismatch error in build. --- tools/assimp_cmd/ImageExtractor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/assimp_cmd/ImageExtractor.cpp b/tools/assimp_cmd/ImageExtractor.cpp index 8c3841838..62fa94f59 100644 --- a/tools/assimp_cmd/ImageExtractor.cpp +++ b/tools/assimp_cmd/ImageExtractor.cpp @@ -364,8 +364,8 @@ int Assimp_Extract (const char* const* params, unsigned int num) if (!tex->mHeight) { m = (1 != fwrite(tex->pcData,tex->mWidth,1,p)) - ? AssimpCmdError::Success - : AssimpCmdExtractError::FailedToExportCompressedTexture; + ? static_cast(AssimpCmdError::Success) + : static_cast(AssimpCmdExtractError::FailedToExportCompressedTexture); } else m = DoExport(tex,p,extension,flags); ::fclose(p);