From 037a93406ac3d3cbd04960b7fa43b1bdb364fa5f Mon Sep 17 00:00:00 2001 From: Nicholas Van Sickle Date: Fri, 3 Dec 2021 12:40:52 -0800 Subject: [PATCH] Fix a couple format string issues Signed-off-by: Nicholas Van Sickle --- .../AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp index 4adf0bdd21..e1db5be29e 100644 --- a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp +++ b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp @@ -105,7 +105,7 @@ namespace AZ::Dom::Json return VisitorFailure( VisitorErrorCode::InternalError, AZStd::string::format( - "EndObject: Expected %lu attributes but received %lu attributes instead", attributeCount, + "EndObject: Expected %llu attributes but received %llu attributes instead", attributeCount, m_entryStack.front().m_entryCount)); } @@ -159,7 +159,7 @@ namespace AZ::Dom::Json return VisitorFailure( VisitorErrorCode::InternalError, AZStd::string::format( - "EndArray: Expected %lu elements but received %lu elements instead", elementCount, m_entryStack.front().m_entryCount)); + "EndArray: Expected %llu elements but received %llu elements instead", elementCount, m_entryStack.front().m_entryCount)); } m_entryStack.pop_front();