Mercurial > vim
comparison src/channel.c @ 27426:41e0dcf38521 v8.2.4241
patch 8.2.4241: some type casts are redundant
Commit: https://github.com/vim/vim/commit/420fabcd4ffeaf79082a6e43db91e1d363f88f27
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Fri Jan 28 15:28:04 2022 +0000
patch 8.2.4241: some type casts are redundant
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes https://github.com/vim/vim/issues/9643)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Jan 2022 16:30:11 +0100 |
parents | c9474ae175f4 |
children | 85b07a942518 |
comparison
equal
deleted
inserted
replaced
27425:b5bd6c851b8a | 27426:41e0dcf38521 |
---|---|
814 gettimeofday(&start_tv, NULL); | 814 gettimeofday(&start_tv, NULL); |
815 #endif | 815 #endif |
816 ch_log(channel, | 816 ch_log(channel, |
817 "Waiting for connection (waiting %d msec)...", waitnow); | 817 "Waiting for connection (waiting %d msec)...", waitnow); |
818 | 818 |
819 ret = select((int)sd + 1, &rfds, &wfds, NULL, &tv); | 819 ret = select(sd + 1, &rfds, &wfds, NULL, &tv); |
820 if (ret < 0) | 820 if (ret < 0) |
821 { | 821 { |
822 SOCK_ERRNO; | 822 SOCK_ERRNO; |
823 ch_error(channel, | 823 ch_error(channel, |
824 "channel_connect: Connect failed with errno %d", errno); | 824 "channel_connect: Connect failed with errno %d", errno); |