summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-26 15:06:22 +0200
committerGravatar Martin Szulecki2011-04-26 15:06:22 +0200
commit8dfc72fed96e3a2930a907ac01b17928869620dc (patch)
treef4a296762463bd00ec8f566f78fce33da9590d39 /tools
parent103ef2b4fb3f64c90490059e11286342b350b8ec (diff)
downloadlibimobiledevice-8dfc72fed96e3a2930a907ac01b17928869620dc.tar.gz
libimobiledevice-8dfc72fed96e3a2930a907ac01b17928869620dc.tar.bz2
idevicebackup4: Use cast to silence compiler warning
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup4.c2
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)
GDir *cur_dir = g_dir_open(path, 0, NULL);
if (cur_dir) {
gchar *dir_file;
- while ((dir_file = g_dir_read_name(cur_dir))) {
+ while ((dir_file = (gchar *)g_dir_read_name(cur_dir))) {
gchar *fpath = g_build_filename(path, dir_file, NULL);
if (fpath) {
plist_t fdict = plist_new_dict();