Fix code that triggers -Wnon-pod-varargs (#1354)

This fixes mac-specific instances of the `-Wnon-pod-varargs` warning.
This commit is contained in:
Chris Burel
2021-06-16 08:35:07 -07:00
committed by GitHub
parent 1fd0886b70
commit 5946a5981e
@@ -417,7 +417,7 @@ namespace AZ
AZ::IO::FileIOStream sourceMtlfileStream(inputMetalFile.c_str(), AZ::IO::OpenMode::ModeWrite | AZ::IO::OpenMode::ModeBinary);
if (!sourceMtlfileStream.IsOpen())
{
AZ_Error(platformName, false, "Failed because the shader file \"%s\" could not be opened", inputMetalFile);
AZ_Error(platformName, false, "Failed because the shader file \"%s\" could not be opened", inputMetalFile.c_str());
return false;
}