diff src/dupe.c @ 64:04ff0df3ad2f

Mon Aug 15 17:13:57 2005 John Ellis <johne@verizon.net> * collect-table.c, dupe.c, exif.c, img-view.c info.c, layout_image.c, md5-util.[ch], pan-view.c, remote.c, search.c, thumb_standard.c, ui_bookmark.c, ui_misc.c, ui_pathsel.c, view_dir_list.c, view_dir_tree.c, view_file_icon.c, view_file_list.c: Fix signedness warnings in gcc 4.0.
author gqview
date Mon, 15 Aug 2005 21:41:20 +0000
parents d907d608745f
children 9d5c75b5ec28
line wrap: on
line diff
--- a/src/dupe.c	Mon Aug 15 20:47:03 2005 +0000
+++ b/src/dupe.c	Mon Aug 15 21:41:20 2005 +0000
@@ -3354,7 +3354,7 @@
 		}
 
 	if (uri_text) gtk_selection_data_set(selection_data, selection_data->target,
-					     8, uri_text, length);
+					     8, (guchar *)uri_text, length);
 	g_free(uri_text);
 }
 
@@ -3379,7 +3379,7 @@
 			collection_from_dnd_data((gchar *)selection_data->data, &list, NULL);
 			break;
 		case TARGET_URI_LIST:
-			list = uri_list_from_text(selection_data->data, TRUE);
+			list = uri_list_from_text((gchar *)selection_data->data, TRUE);
 			work = list;
 			while(work)
 				{