summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-12-22 00:18:22 -0800
committerGravatar Nikias Bassen2020-12-30 03:03:51 +0100
commitf48ffb1a6cc32214c91f1cc09c572ab19a72924d (patch)
treef07dbedb41e61648bf0b019d6ef9f39377b38bb2
parent22988d874570c35251076f9edc1cd3c99ecb6785 (diff)
downloadlibusbmuxd-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
-rw-r--r--src/libusbmuxd.c2
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