diff src/protocols/yahoo/yahoo_packet.c @ 13276:d6a799421657

[gaim-migrate @ 15642] gsize != size_t on weird platforms committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 13 Feb 2006 18:14:14 +0000
parents 4f8c85836b41
children 6c3c8d0d389f
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_packet.c	Mon Feb 13 17:33:32 2006 +0000
+++ b/src/protocols/yahoo/yahoo_packet.c	Mon Feb 13 18:14:14 2006 +0000
@@ -82,11 +82,11 @@
 	va_end(ap);
 }
 
-gsize yahoo_packet_length(struct yahoo_packet *pkt)
+size_t yahoo_packet_length(struct yahoo_packet *pkt)
 {
 	GSList *l;
 
-	gsize len = 0;
+	size_t len = 0;
 
 	l = pkt->hash;
 	while (l) {
@@ -270,11 +270,11 @@
 }
 
 
-gsize yahoo_packet_build(struct yahoo_packet *pkt, int pad, gboolean wm,
+size_t yahoo_packet_build(struct yahoo_packet *pkt, int pad, gboolean wm,
 			 guchar **buf)
 {
-	gsize pktlen = yahoo_packet_length(pkt);
-	gsize len = YAHOO_PACKET_HDRLEN + pktlen;
+	size_t pktlen = yahoo_packet_length(pkt);
+	size_t len = YAHOO_PACKET_HDRLEN + pktlen;
 	guchar *data;
 	int pos = 0;
 
@@ -301,7 +301,7 @@
 
 int yahoo_packet_send(struct yahoo_packet *pkt, struct yahoo_data *yd)
 {
-	gsize len;
+	size_t len;
 	int ret;
 	guchar *data;