diff options
author | Nikias Bassen | 2012-02-02 20:15:36 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-02 20:15:36 +0100 |
commit | a2ee90f60d1efa1e642b8e44882607c620f75414 (patch) | |
tree | 5223d44fdb176a21bea0fc9ed100a4137b32dbc0 | |
parent | 5421b825d98a0e84f7336e24083bbc4f123d00f6 (diff) | |
download | idevicerestore-a2ee90f60d1efa1e642b8e44882607c620f75414.tar.gz idevicerestore-a2ee90f60d1efa1e642b8e44882607c620f75414.tar.bz2 |
recovery: add missing string.h include and a cast to silence gcc
-rw-r--r-- | src/recovery.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recovery.c b/src/recovery.c index 54ea14f..dd544c1 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <libirecovery.h> #include <libimobiledevice/restore.h> #include <libimobiledevice/libimobiledevice.h> @@ -374,7 +375,7 @@ int recovery_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid) { } } - recovery_error = irecv_get_ecid(client->recovery->client, ecid); + recovery_error = irecv_get_ecid(client->recovery->client, (long long unsigned int*)ecid); if (recovery_error != IRECV_E_SUCCESS) { return -1; } |