changeset 5166:cab5cd204956

[gaim-migrate @ 5530] This is that stuff that's supposed to make msn work gooder on OSX. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Apr 2003 18:04:38 +0000
parents f55f87a82311
children d9073c83a8a0
files src/protocols/msn/msn.c src/protocols/msn/msn.h src/protocols/msn/switchboard.h
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Fri Apr 18 15:29:15 2003 +0000
+++ b/src/protocols/msn/msn.c	Fri Apr 18 18:04:38 2003 +0000
@@ -1345,7 +1345,7 @@
 	if (stat(name, &sb) == -1)
 		return;
 
-	mft->cookie = 1 + (uint32_t)(4294967295.0 * rand() / (RAND_MAX + 1.0));
+	mft->cookie = 1 + (guint32)(4294967295.0 * rand() / (RAND_MAX + 1.0));
 
 	g_snprintf(header, sizeof(header),
 		"MIME-Version: 1.0\r\n"
--- a/src/protocols/msn/msn.h	Fri Apr 18 15:29:15 2003 +0000
+++ b/src/protocols/msn/msn.h	Fri Apr 18 18:04:38 2003 +0000
@@ -97,8 +97,8 @@
 struct msn_xfer_data {
 	int inpa;
 
-	uint32_t cookie;
-	uint32_t authcookie;
+	guint32 cookie;
+	guint32 authcookie;
 
 	gboolean transferring;
 	gboolean do_cancel;
@@ -112,7 +112,7 @@
 
 struct msn_data {
 	int fd;
-	uint32_t trId;
+	guint32 trId;
 	int inpa;
 
 	char *rxqueue;
--- a/src/protocols/msn/switchboard.h	Fri Apr 18 15:29:15 2003 +0000
+++ b/src/protocols/msn/switchboard.h	Fri Apr 18 18:04:38 2003 +0000
@@ -37,7 +37,7 @@
 
 	char *sessid;
 	char *auth;
-	uint32_t trId;
+	guint32 trId;
 	int total;
 	char *user;
 	GSList *txqueue;