From f7f35d23732219383a923a7ae49df00e35229c4c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 29 Jul 2020 20:12:19 -0700 Subject: [PATCH] Fix a warning in fish_tests --- src/fish_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index a3692f1b8..db558b8fe 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -5053,7 +5053,7 @@ static void test_wwrite_to_fd() { } std::string narrow = wcs2string(input); size_t expected_size = narrow.size(); - do_test(amt == expected_size); + do_test(static_cast(amt) == expected_size); if (lseek(fd.fd(), 0, SEEK_SET) < 0) { wperror(L"seek");