diff plugins/gaim-remote/remote.c @ 10124:b4efa002dad8

[gaim-migrate @ 11161] warnings -= 3; committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 19 Oct 2004 04:32:56 +0000
parents a38881ec9c0f
children 5976491e07a7
line wrap: on
line diff
--- a/plugins/gaim-remote/remote.c	Tue Oct 19 03:59:00 2004 +0000
+++ b/plugins/gaim-remote/remote.c	Tue Oct 19 04:32:56 2004 +0000
@@ -474,12 +474,12 @@
 gaim_recv(GIOChannel *source, gchar *buf, gint len)
 {
 	gint total = 0;
-	guint cur;
+	gsize cur;
 
 	GError *error = NULL;
 
 	while (total < len) {
-		if (g_io_channel_read_chars(source, buf + total, len - total, (gsize *) &cur, &error) != G_IO_STATUS_NORMAL) {
+		if (g_io_channel_read_chars(source, buf + total, len - total, &cur, &error) != G_IO_STATUS_NORMAL) {
 			if (error)
 				g_error_free(error);
 			return -1;