AWSCore
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -43,8 +43,7 @@ namespace AWSCore
|
||||
|
||||
if (urlSections.size() > ExpectedUrlSections)
|
||||
{
|
||||
int i;
|
||||
i = urlSections[ExpectedUrlSections - 1].find('.');
|
||||
int i = static_cast<int>(urlSections[ExpectedUrlSections - 1].find('.'));
|
||||
if (i != -1)
|
||||
{
|
||||
// Handle APIGateway URLs with custom domains:
|
||||
|
||||
@@ -391,7 +391,7 @@ namespace AWSCore
|
||||
int offset = 0;
|
||||
while (offset < message.size())
|
||||
{
|
||||
int count = (offset + MAX_MESSAGE_LENGTH < message.size()) ? MAX_MESSAGE_LENGTH : message.size() - offset;
|
||||
int count = static_cast<int>((offset + MAX_MESSAGE_LENGTH < message.size()) ? MAX_MESSAGE_LENGTH : message.size() - offset);
|
||||
AZ_Warning(ServiceClientJobType::COMPONENT_DISPLAY_NAME, false, message.substr(offset, count).c_str());
|
||||
offset += MAX_MESSAGE_LENGTH;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user