im.pidgin.cpw.rekkanoryo.yahoop15ft: 3ad28b49e94fba6bc334942467f846240663721f

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sun Jan 6 17:10:38 EST 2008


-----------------------------------------------------------------
Revision: 3ad28b49e94fba6bc334942467f846240663721f
Ancestor: 5cc1995b867e1db8721eed30786e8990df1dec6b
Author: rekkanoryo at pidgin.im
Date: 2008-01-06T21:56:12
Branch: im.pidgin.cpw.rekkanoryo.yahoop15ft

Modified files:
        libpurple/protocols/yahoo/yahoo.c
        libpurple/protocols/yahoo/yahoo_filexfer.c

ChangeLog: 

Fix a couple compile warnings.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	ea210b6d14aa25129d7a6cde21bc03230f89510e
+++ libpurple/protocols/yahoo/yahoo.c	14982db038be1553798eae49e0b9e92ff9214d70
@@ -1601,7 +1601,7 @@ static void yahoo_process_auth_new(Purpl
 
 	magic_ptr = seed;
 
-	while (*magic_ptr != (int)NULL) {
+	while (*magic_ptr != '\0') {
 		char   *loc;
 
 		/* Ignore parentheses. */
============================================================
--- libpurple/protocols/yahoo/yahoo_filexfer.c	f10234568c77e808efd47767da621856d26522ac
+++ libpurple/protocols/yahoo/yahoo_filexfer.c	50c46b506c1f2e1bed44b7cb8ae919815b9fa196
@@ -650,7 +650,7 @@ static void yahoo_xfer_end(PurpleXfer *x
 			xfer_data->txbuf = NULL;
 			xfer_data->txbuflen = 0;
 			xfer_data->txbuf_written = 0;
-			xfer_data->tx_handler = (int) NULL;
+			xfer_data->tx_handler = 0;
 			xfer_data->rxqueue = NULL;
 			xfer_data->rxlen = 0;
 			xfer_data->xfer_idstring_for_relay = NULL;


More information about the Commits mailing list