summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/diagnostics
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-11 05:31:00 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-11 05:31:00 +0000
commitc71bd55b5dd20dd94c5b87a30adb1da7e81c5114 (patch)
tree51ebcc46d3d70c5c3d18b752ab7e2910ff481f78 /libcxx/test/std/diagnostics
parent72967a56e17c3ba7f1f689aaf569dd0648a1d3df (diff)
downloadbcm5719-llvm-c71bd55b5dd20dd94c5b87a30adb1da7e81c5114.tar.gz
bcm5719-llvm-c71bd55b5dd20dd94c5b87a30adb1da7e81c5114.zip
Enable the -Wsign-compare warning to better support MSVC
llvm-svn: 289363
Diffstat (limited to 'libcxx/test/std/diagnostics')
-rw-r--r--libcxx/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp b/libcxx/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp
index c8b3d98103c..04606e805e4 100644
--- a/libcxx/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp
+++ b/libcxx/test/std/diagnostics/syserr/syserr.hash/error_code.pass.cpp
@@ -23,7 +23,7 @@
#include "test_macros.h"
void
-test(int i)
+test(std::size_t i)
{
typedef std::error_code T;
typedef std::hash<T> H;
diff --git a/libcxx/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp b/libcxx/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp
index eb3c06f2ed0..e520b54879a 100644
--- a/libcxx/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp
+++ b/libcxx/test/std/diagnostics/syserr/syserr.hash/error_condition.pass.cpp
@@ -23,7 +23,7 @@
#include "test_macros.h"
void
-test(int i)
+test(std::size_t i)
{
typedef std::error_condition T;
typedef std::hash<T> H;
OpenPOWER on IntegriCloud