mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
Fix a warning in fish_tests
This commit is contained in:
parent
2809d637db
commit
f7f35d2373
1 changed files with 1 additions and 1 deletions
|
@ -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<size_t>(amt) == expected_size);
|
||||
|
||||
if (lseek(fd.fd(), 0, SEEK_SET) < 0) {
|
||||
wperror(L"seek");
|
||||
|
|
Loading…
Reference in a new issue