comparison src/layout_image.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 9c0c402b0ef3
children a4c1b7014e6e
comparison
equal deleted inserted replaced
63:e29c291e106b 64:04ff0df3ad2f
814 GList *list; 814 GList *list;
815 GList *info_list; 815 GList *info_list;
816 816
817 if (info == TARGET_URI_LIST) 817 if (info == TARGET_URI_LIST)
818 { 818 {
819 list = uri_list_from_text(selection_data->data, TRUE); 819 list = uri_list_from_text((gchar *)selection_data->data, TRUE);
820 source = NULL; 820 source = NULL;
821 info_list = NULL; 821 info_list = NULL;
822 } 822 }
823 else 823 else
824 { 824 {
899 text = uri_text_from_list(list, &len, plain_text); 899 text = uri_text_from_list(list, &len, plain_text);
900 g_list_free(list); 900 g_list_free(list);
901 if (text) 901 if (text)
902 { 902 {
903 gtk_selection_data_set (selection_data, selection_data->target, 903 gtk_selection_data_set (selection_data, selection_data->target,
904 8, text, len); 904 8, (guchar *)text, len);
905 g_free(text); 905 g_free(text);
906 } 906 }
907 } 907 }
908 else 908 else
909 { 909 {