diff options
author | Rosen Penev | 2020-12-22 00:18:22 -0800 |
---|---|---|
committer | Nikias Bassen | 2020-12-30 03:03:51 +0100 |
commit | f48ffb1a6cc32214c91f1cc09c572ab19a72924d (patch) | |
tree | f07dbedb41e61648bf0b019d6ef9f39377b38bb2 /src/libusbmuxd.c | |
parent | 22988d874570c35251076f9edc1cd3c99ecb6785 (diff) | |
download | libusbmuxd-f48ffb1a6cc32214c91f1cc09c572ab19a72924d.tar.gz libusbmuxd-f48ffb1a6cc32214c91f1cc09c572ab19a72924d.tar.bz2 |
Remove cast to the same type
[clang-tidy] Found with google-readability-casting
Signed-off-by: Rosen Penev rosenp@gmail.com
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r-- | src/libusbmuxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 785da8b..93493a9 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -1528,7 +1528,7 @@ retry: } tag = ++use_tag; - if (send_connect_packet(sfd, tag, (uint32_t)handle, (uint16_t)port) <= 0) { + if (send_connect_packet(sfd, tag, handle, (uint16_t)port) <= 0) { LIBUSBMUXD_DEBUG(1, "%s: Error sending connect message!\n", __func__); } else { // read ACK |