summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-07-06 16:08:27 +0200
committerGravatar Nikias Bassen2020-07-06 16:08:27 +0200
commit6e965298e439d52f8c96ccc98edb488891807c7d (patch)
tree13583c6d924097d1ee8e648a7d864ea822927a8c /include
parentce1d31fe7766f215fecdf4e2b3919efd1834c581 (diff)
downloadlibirecovery-6e965298e439d52f8c96ccc98edb488891807c7d.tar.gz
libirecovery-6e965298e439d52f8c96ccc98edb488891807c7d.tar.bz2
Fix compiler warning about format string specifiers by using uint64_t instead of unsinged long long
Diffstat (limited to 'include')
-rw-r--r--include/libirecovery.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index 9874e03..224a6a7 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -84,7 +84,7 @@ struct irecv_device_info {
unsigned int cpfm;
unsigned int scep;
unsigned int bdid;
- unsigned long long ecid;
+ uint64_t ecid;
unsigned int ibfl;
char* srnm;
char* imei;
@@ -117,8 +117,8 @@ void irecv_init(void); /* deprecated: libirecovery has constructor now */
void irecv_exit(void); /* deprecated: libirecovery has destructor now */
/* device connectivity */
-irecv_error_t irecv_open_with_ecid(irecv_client_t* client, unsigned long long ecid);
-irecv_error_t irecv_open_with_ecid_and_attempts(irecv_client_t* pclient, unsigned long long ecid, int attempts);
+irecv_error_t irecv_open_with_ecid(irecv_client_t* client, uint64_t ecid);
+irecv_error_t irecv_open_with_ecid_and_attempts(irecv_client_t* pclient, uint64_t ecid, int attempts);
irecv_error_t irecv_reset(irecv_client_t client);
irecv_error_t irecv_close(irecv_client_t client);
irecv_client_t irecv_reconnect(irecv_client_t client, int initial_pause);