gyrus r364 - in trunk: . src



Author: csaavedra
Date: Tue Oct 14 17:56:26 2008
New Revision: 364
URL: http://svn.gnome.org/viewvc/gyrus?rev=364&view=rev

Log:
2008-10-14  Francisco Rojas  <frojas alumnos utalca cl>

	* src/gyrus-admin.c (gyrus_admin_listen_channel),
	(gyrus_admin_write_channel): Use appropriate gsize instead of guint
	for bytes_written parameter.



Modified:
   trunk/ChangeLog
   trunk/src/gyrus-admin.c

Modified: trunk/src/gyrus-admin.c
==============================================================================
--- trunk/src/gyrus-admin.c	(original)
+++ trunk/src/gyrus-admin.c	Tue Oct 14 17:56:26 2008
@@ -708,7 +708,7 @@
 gyrus_admin_listen_channel (GyrusAdmin *admin, gchar **message, gint *msg_len)
 {
 	gchar buffer[BUFFER_SIZE];
-	guint bytes_read;
+	gsize bytes_read;
 	gchar **tokens = NULL;
 	GIOError error;
 	GyrusImapStatus imap_status;
@@ -768,7 +768,8 @@
 GIOError
 gyrus_admin_write_channel (GyrusAdmin *admin, gchar *message)
 {
-	guint msg_len, bytes_written;
+	guint msg_len;
+	gsize bytes_written;
 	GIOError error = G_IO_ERROR_NONE;
 
 	msg_len = g_utf8_strlen (message, -1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]