From 2f179bd85b8b080a125295cbde0c463505287bf6 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sun, 11 Dec 2016 05:43:20 +0000 Subject: [PATCH] Fix signed comparison warning llvm-svn: 289365 --- libcxxabi/test/uncaught_exceptions.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxxabi/test/uncaught_exceptions.pass.cpp b/libcxxabi/test/uncaught_exceptions.pass.cpp index 0c64067..fe7374d 100644 --- a/libcxxabi/test/uncaught_exceptions.pass.cpp +++ b/libcxxabi/test/uncaught_exceptions.pass.cpp @@ -23,9 +23,9 @@ struct A { }; struct B { - B(int cnt) : data_(cnt) {} + B(unsigned cnt) : data_(cnt) {} ~B() { assert( data_ == __cxxabiv1::__cxa_uncaught_exceptions()); } - int data_; + unsigned data_; }; int main () -- 2.7.4