diff options
author | Martin Szulecki | 2012-07-17 17:20:51 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 17:20:51 +0200 |
commit | 1288055d4935b8f11d9625d792fbe8da4b3de55e (patch) | |
tree | 5f9e1eb772d522c6735c8974dd6215ec49be9d91 /src | |
parent | 777f8107ed312c6fdebfd962e9e4deb44ca3a821 (diff) | |
download | idevicerestore-1288055d4935b8f11d9625d792fbe8da4b3de55e.tar.gz idevicerestore-1288055d4935b8f11d9625d792fbe8da4b3de55e.tar.bz2 |
retore: Use correct type declaration for zip_get_name() return value
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c index 04e0e78..b2436bb 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1018,7 +1018,7 @@ static int restore_sign_bbfw(const char* bbfwtmp, plist_t bbtss, const char* bb_ } // check for anything but .mbn and .fls if bb_nonce is set if (bb_nonce && !skip) { - char* fn = zip_get_name(za, i, 0); + const char* fn = zip_get_name(za, i, 0); if (fn) { char* ext = strrchr(fn, '.'); if (strcmp(ext, ".fls") == 0 || strcmp(ext, ".mbn") == 0) { |