diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-31 14:53:49 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-31 14:56:28 -0400 |
commit | c00eb306ee711632072f761bfa4e814c405a82d2 (patch) | |
tree | 1f51759af66aa94f3ba8d6e2ec85002fca2d30ee /libnautilus-private/nautilus-dnd.c | |
parent | 8dd9f091a239d22cb8ca0de5cee2fd58e2b835dd (diff) | |
download | nautilus-c00eb306ee711632072f761bfa4e814c405a82d2.tar.gz |
all: fix GCC pointer signedness warnings
New cycle, new set of warnings triggered by glibc/GCC.
Diffstat (limited to 'libnautilus-private/nautilus-dnd.c')
-rw-r--r-- | libnautilus-private/nautilus-dnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-dnd.c b/libnautilus-private/nautilus-dnd.c index d9fd7279f..afb3c540b 100644 --- a/libnautilus-private/nautilus-dnd.c +++ b/libnautilus-private/nautilus-dnd.c @@ -239,7 +239,7 @@ nautilus_drag_build_selection_list (GtkSelectionData *data) /* 2: Decode geometry information. */ - item->got_icon_position = sscanf (p, "%d:%d:%d:%d%*s", + item->got_icon_position = sscanf ((const gchar *) p, "%d:%d:%d:%d%*s", &item->icon_x, &item->icon_y, &item->icon_width, &item->icon_height) == 4; if (!item->got_icon_position) { @@ -616,7 +616,7 @@ nautilus_drag_drag_data_get (GtkWidget *widget, gtk_selection_data_set (selection_data, gtk_selection_data_get_target (selection_data), - 8, result->str, result->len); + 8, (guchar *) result->str, result->len); g_string_free (result, TRUE); return TRUE; |