From f48ffb1a6cc32214c91f1cc09c572ab19a72924d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 22 Dec 2020 00:18:22 -0800 Subject: Remove cast to the same type [clang-tidy] Found with google-readability-casting Signed-off-by: Rosen Penev rosenp@gmail.com --- src/libusbmuxd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libusbmuxd.c') 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 -- cgit v1.1-32-gdbae