AWSCore

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-17 16:51:45 -07:00
committed by Esteban Papp
parent eb2da69e6e
commit 2c11569df2
3 changed files with 3 additions and 4 deletions
@@ -443,7 +443,7 @@ namespace AWSCore
msg += AZStd::string::format(" at character %zu: ", result.Offset());
const int snippet_size = 40;
int start = result.Offset() - snippet_size / 2;
int start = static_cast<int>(result.Offset() - snippet_size / 2);
int length = snippet_size;
int offset = snippet_size / 2;
if (start < 0) {