Skip to content

Commit d526cca

Browse files
author
Bret Ambrose
committed
Remove narrowing warning flag
1 parent b1eee01 commit d526cca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

aws-cpp-sdk-core-tests/utils/StringUtilsTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ TEST(StringUtilsTest, TestInt32Conversion)
196196
long long intValue = INT_MAX - 1;
197197
std::stringstream ss;
198198
ss << intValue;
199-
199+
200200
ASSERT_EQ(0, StringUtils::ConvertToInt32(NULL));
201201
ASSERT_EQ(0, StringUtils::ConvertToInt32(""));
202202
ASSERT_EQ(intValue, StringUtils::ConvertToInt32(ss.str().c_str()));

aws-cpp-sdk-core/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ if(NOT PLATFORM_WINDOWS)
354354

355355
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
356356
target_compile_options(aws-cpp-sdk-core PRIVATE -Wno-unused-private-field)
357-
target_compile_options(aws-cpp-sdk-core PUBLIC -Wshorten-64-to-32)
358357

359358
if(PLATFORM_ANDROID AND ANDROID_ABI MATCHES "mips*")
360359
string(REGEX REPLACE "-finline-functions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")

0 commit comments

Comments
 (0)