diff options
| author | 2011-04-26 15:06:22 +0200 | |
|---|---|---|
| committer | 2011-04-26 15:06:22 +0200 | |
| commit | 8dfc72fed96e3a2930a907ac01b17928869620dc (patch) | |
| tree | f4a296762463bd00ec8f566f78fce33da9590d39 | |
| parent | 103ef2b4fb3f64c90490059e11286342b350b8ec (diff) | |
| download | libimobiledevice-8dfc72fed96e3a2930a907ac01b17928869620dc.tar.gz libimobiledevice-8dfc72fed96e3a2930a907ac01b17928869620dc.tar.bz2 | |
idevicebackup4: Use cast to silence compiler warning
| -rw-r--r-- | tools/idevicebackup4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c index 631fbc8..980cc75 100644 --- a/tools/idevicebackup4.c +++ b/tools/idevicebackup4.c | |||
| @@ -869,7 +869,7 @@ static void mb2_handle_list_directory(plist_t message, const char *backup_dir) | |||
| 869 | GDir *cur_dir = g_dir_open(path, 0, NULL); | 869 | GDir *cur_dir = g_dir_open(path, 0, NULL); |
| 870 | if (cur_dir) { | 870 | if (cur_dir) { |
| 871 | gchar *dir_file; | 871 | gchar *dir_file; |
| 872 | while ((dir_file = g_dir_read_name(cur_dir))) { | 872 | while ((dir_file = (gchar *)g_dir_read_name(cur_dir))) { |
| 873 | gchar *fpath = g_build_filename(path, dir_file, NULL); | 873 | gchar *fpath = g_build_filename(path, dir_file, NULL); |
| 874 | if (fpath) { | 874 | if (fpath) { |
| 875 | plist_t fdict = plist_new_dict(); | 875 | plist_t fdict = plist_new_dict(); |
