summaryrefslogtreecommitdiffstats
path: root/tests/ChunkData
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ChunkData')
-rw-r--r--tests/ChunkData/CMakeLists.txt5
-rw-r--r--tests/ChunkData/CopyBlocks.cpp2
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/ChunkData/CMakeLists.txt b/tests/ChunkData/CMakeLists.txt
index 9fdcd4650..61cb8e7c6 100644
--- a/tests/ChunkData/CMakeLists.txt
+++ b/tests/ChunkData/CMakeLists.txt
@@ -1,11 +1,6 @@
enable_testing()
include_directories(${CMAKE_SOURCE_DIR}/src/)
-if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- add_flags_cxx("-Wno-error=old-style-cast")
- set_source_files_properties(${CMAKE_SOURCE_DIR}/src/ChunkData.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=sign-conversion")
- set_source_files_properties(${CMAKE_SOURCE_DIR}/src/StringUtils.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=conversion")
-endif()
add_definitions(-DTEST_GLOBALS=1)
diff --git a/tests/ChunkData/CopyBlocks.cpp b/tests/ChunkData/CopyBlocks.cpp
index b76b2d420..8253ac2ec 100644
--- a/tests/ChunkData/CopyBlocks.cpp
+++ b/tests/ChunkData/CopyBlocks.cpp
@@ -51,7 +51,7 @@ int main(int argc, char ** argv)
{
if (idx / 500 != LastReportedStep)
{
- printf("Testing index %u...\n", (unsigned)idx);
+ printf("Testing index %u...\n", static_cast<unsigned>(idx));
LastReportedStep = idx / 500;
}