Mercurial > gftp.yaz
diff src/gtk/dnd.c @ 767:49cfbe02926b
2006-7-13 Brian Masney <masneyb@gftp.org>
* src/gtk/bookmarks.c src/gtk/delete_dialog.c src/gtk/dnd.c
src/gtk/gftp-gtk.c src/gtk/gftp-gtk.h src/gtk/gtkui.c
src/gtk/menu-items.c src/gtk/misc-gtk.c src/gtk/options_dialog.c
src/gtk/transfer.c src/gtk/view_dialog.c - fixed a few minor warnings
from splint.
author | masneyb |
---|---|
date | Fri, 14 Jul 2006 01:53:42 +0000 |
parents | 8990a8a26ccf |
children | 1808cebed602 |
line wrap: on
line diff
--- a/src/gtk/dnd.c Fri Jul 14 00:37:27 2006 +0000 +++ b/src/gtk/dnd.c Fri Jul 14 01:53:42 2006 +0000 @@ -135,7 +135,7 @@ ftp_log (gftp_logging_misc, NULL, _("Received URL %s\n"), (char *) selection_data->data); - ftp_connect (current_wdata, current_wdata->request, 1); + ftp_connect (current_wdata, current_wdata->request); } } } @@ -216,7 +216,7 @@ } else { - str = g_malloc (totlen + 1); + str = g_malloc ((gulong) totlen + 1); strcpy (str, tempstr); } g_free (tempstr); @@ -262,7 +262,7 @@ if (len == 0) break; - tempstr = g_malloc (len + 1); + tempstr = g_malloc ((gulong) len + 1); memcpy (tempstr, oldpos, len); tempstr[len] = '\0';