diff src/remote.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 f6e307c7bad6
line wrap: on
line diff
--- a/src/remote.c	Mon Aug 15 20:47:03 2005 +0000
+++ b/src/remote.c	Mon Aug 15 21:41:20 2005 +0000
@@ -52,7 +52,7 @@
 		GList *work;
 		gchar *buffer = NULL;
 		GError *error = NULL;
-		gint termpos;
+		guint termpos;
 
 		while (g_io_channel_read_line(source, &buffer, NULL, &termpos, &error) == G_IO_STATUS_NORMAL)
 			{
@@ -153,7 +153,7 @@
 {
 	RemoteConnection *rc = data;
 	int fd;
-	int alen;
+	unsigned int alen;
 
 	fd = accept(rc->fd, NULL, &alen);
 	if (fd == -1)