diff options
author | Rosen Penev | 2020-04-12 21:20:03 -0700 |
---|---|---|
committer | Rosen Penev | 2020-04-12 21:25:35 -0700 |
commit | 10b85ce085e4f2c0d695ee6c92fc26a7c9f456d7 (patch) | |
tree | e18af55ed4722a98c9c14c0f150238e6448fbf03 /src/fdr.c | |
parent | 05f543df0147c61cb5900586512c882d276d0ed6 (diff) | |
download | idevicerestore-10b85ce085e4f2c0d695ee6c92fc26a7c9f456d7.tar.gz idevicerestore-10b85ce085e4f2c0d695ee6c92fc26a7c9f456d7.tar.bz2 |
fix newly introduced format errors under 64-bit
uint64_t should be used.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/fdr.c')
-rw-r--r-- | src/fdr.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -27,7 +27,6 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <inttypes.h> #include <libimobiledevice/libimobiledevice.h> #include "socket.h" /* from libimobiledevice/common */ @@ -341,7 +340,7 @@ static int fdr_ctrl_handshake(fdr_client_t fdr) conn_port = le16toh(cport); } - debug("Ctrl handshake done (ConnPort = %" PRIu64 ")\n", (unsigned long long)conn_port); + debug("Ctrl handshake done (ConnPort = %" PRIu64 ")\n", (uint64_t)conn_port); return 0; } |