[easytag/wip/unstable: 27/33] Fix sign comparison compiler warning
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/unstable: 27/33] Fix sign comparison compiler warning
- Date: Sun, 10 Feb 2013 16:39:01 +0000 (UTC)
commit 2c44cbc71ad84e1617f6ff45621bdda2a57fd17d
Author: Andreas Winkelmann <ml awinkelmann de>
Date: Mon Jan 28 16:44:22 2013 +0100
Fix sign comparison compiler warning
Fix compiler warning: pointer targets in passing argument 1 of
âg_strsplitâ differ in signedness [-Wpointer-sign]
src/picture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/picture.c b/src/picture.c
index 954d9bb..a67b350 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -88,7 +88,7 @@ void Tag_Area_Picture_Drag_Data (GtkWidget *widget, GdkDragContext *dc,
selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(PictureEntryView));
gtk_tree_selection_unselect_all(selection);
- uri = uri_list = g_strsplit(gtk_selection_data_get_data(selection_data), "\r\n", 0);
+ uri = uri_list = g_strsplit((gchar *)gtk_selection_data_get_data(selection_data), "\r\n", 0);
while (*uri && strlen(*uri))
{
//Picture *pic;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]