summaryrefslogtreecommitdiff
path: root/gio/inotify
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2010-06-09 10:23:39 +0200
committerJuan A. Suarez Romero <jasuarez@igalia.com>2010-06-09 10:32:12 +0200
commit992e07c8b2e8f75bcc87c30e1ac2aca1ccf432e3 (patch)
tree92d94233637ece2d4e06d79dbce43c8b4419183b /gio/inotify
parent2b72587bedfe293964529aa9f6d6034e7976209b (diff)
downloadglib-992e07c8b2e8f75bcc87c30e1ac2aca1ccf432e3.tar.gz
Fix warnings
Do explicit casts to avoid warnings.
Diffstat (limited to 'gio/inotify')
-rw-r--r--gio/inotify/inotify-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/inotify/inotify-helper.c b/gio/inotify/inotify-helper.c
index 9ccee1c18..6d3b2489b 100644
--- a/gio/inotify/inotify-helper.c
+++ b/gio/inotify/inotify-helper.c
@@ -182,7 +182,7 @@ ih_event_callback (ik_event_t *event,
if (ih_event_is_paired_move (event) && sub->pair_moves)
{
- char *parent_dir = _ip_get_path_for_wd (event->pair->wd);
+ char *parent_dir = (char *) _ip_get_path_for_wd (event->pair->wd);
fullpath = _ih_fullpath_from_event (event->pair, parent_dir);
other = g_file_new_for_path (fullpath);
g_free (fullpath);