comparison 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
comparison
equal deleted inserted replaced
63:e29c291e106b 64:04ff0df3ad2f
3352 uri_text = NULL; 3352 uri_text = NULL;
3353 break; 3353 break;
3354 } 3354 }
3355 3355
3356 if (uri_text) gtk_selection_data_set(selection_data, selection_data->target, 3356 if (uri_text) gtk_selection_data_set(selection_data, selection_data->target,
3357 8, uri_text, length); 3357 8, (guchar *)uri_text, length);
3358 g_free(uri_text); 3358 g_free(uri_text);
3359 } 3359 }
3360 3360
3361 static void dupe_dnd_data_get(GtkWidget *widget, GdkDragContext *context, 3361 static void dupe_dnd_data_get(GtkWidget *widget, GdkDragContext *context,
3362 gint x, gint y, 3362 gint x, gint y,
3377 { 3377 {
3378 case TARGET_APP_COLLECTION_MEMBER: 3378 case TARGET_APP_COLLECTION_MEMBER:
3379 collection_from_dnd_data((gchar *)selection_data->data, &list, NULL); 3379 collection_from_dnd_data((gchar *)selection_data->data, &list, NULL);
3380 break; 3380 break;
3381 case TARGET_URI_LIST: 3381 case TARGET_URI_LIST:
3382 list = uri_list_from_text(selection_data->data, TRUE); 3382 list = uri_list_from_text((gchar *)selection_data->data, TRUE);
3383 work = list; 3383 work = list;
3384 while(work) 3384 while(work)
3385 { 3385 {
3386 if (isdir((gchar *)work->data)) 3386 if (isdir((gchar *)work->data))
3387 { 3387 {