Fix missed sign-compare warning

llvm-svn: 290473
This commit is contained in:
Eric Fiselier 2016-12-24 00:44:20 +00:00
parent 3777a33d71
commit 9eb96d5b08
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ int main()
// interesting state.
Myconv myconv;
myconv.from_bytes("\xF1\x80\x80\x83");
const int old_converted = myconv.converted();
const auto old_converted = myconv.converted();
assert(myconv.converted() == 4);
// move construct a new converter and make sure the state is the same.
Myconv myconv2(std::move(myconv));