summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-04-21 02:01:00 +0200
committerGravatar Nikias Bassen2020-04-21 02:01:00 +0200
commit874e4cf2d7463f45c3bf4b7ebab669f1aabc254a (patch)
treeafde0d61781e4d2810d5891c453a992a31252cf6
parent3f9001b6e6c201b4853d14d37d138c020b9f4e9c (diff)
downloadlibirecovery-874e4cf2d7463f45c3bf4b7ebab669f1aabc254a.tar.gz
libirecovery-874e4cf2d7463f45c3bf4b7ebab669f1aabc254a.tar.bz2
Use uint64_t cast for PRIx64 format specifiers
-rw-r--r--src/libirecovery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index eff6cc3..ea60a6a 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -745,7 +745,7 @@ irecv_error_t mobiledevice_connect(irecv_client_t* client, unsigned long long ec
mobiledevice_closepipes(_client);
continue;
}
- debug("found device with ECID %016" PRIx64 "\n", (unsigned long long)ecid);
+ debug("found device with ECID %016" PRIx64 "\n", (uint64_t)ecid);
}
found = 1;
break;
@@ -827,7 +827,7 @@ irecv_error_t mobiledevice_connect(irecv_client_t* client, unsigned long long ec
mobiledevice_closepipes(_client);
continue;
}
- debug("found device with ECID %016" PRIx64 "\n", (unsigned long long)ecid);
+ debug("found device with ECID %016" PRIx64 "\n", (uint64_t)ecid);
}
found = 1;
break;
@@ -1374,7 +1374,7 @@ IRECV_API irecv_error_t irecv_open_with_ecid(irecv_client_t* pclient, unsigned l
irecv_close(client);
continue;
}
- debug("found device with ECID %016" PRIx64 "\n", (unsigned long long)ecid);
+ debug("found device with ECID %016" PRIx64 "\n", (uint64_t)ecid);
}
error = irecv_usb_set_configuration(client, 1);