# HG changeset patch # User Mark Doliner # Date 1050689078 0 # Node ID cab5cd20495623a82b07e22cc5c204d160391664 # Parent f55f87a8231170ea4ddd486edba2115c1156a118 [gaim-migrate @ 5530] This is that stuff that's supposed to make msn work gooder on OSX. committer: Tailor Script diff -r f55f87a82311 -r cab5cd204956 src/protocols/msn/msn.c --- 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" diff -r f55f87a82311 -r cab5cd204956 src/protocols/msn/msn.h --- 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; diff -r f55f87a82311 -r cab5cd204956 src/protocols/msn/switchboard.h --- 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;