64-bit compile warning/error fixups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3134 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -217,8 +217,8 @@ release_one_connection (gpointer item, gpointer user_data)
|
||||
static void
|
||||
free_watch (gpointer key, gpointer value, gpointer user_data)
|
||||
{
|
||||
int ifd = (int) user_data;
|
||||
int wd = (int) value;
|
||||
int ifd = GPOINTER_TO_INT (user_data);
|
||||
int wd = GPOINTER_TO_INT (value);
|
||||
|
||||
if (inotify_rm_watch (ifd, wd) != 0)
|
||||
PLUGIN_WARN (PLUGIN_NAME, "error removing inotify watch on %s", (char *) key);
|
||||
|
Reference in New Issue
Block a user