Mercurial > pidgin
changeset 22022:eeba86c553be
Fix a couple compile warnings.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sun, 06 Jan 2008 21:56:12 +0000 |
parents | c72ea83f34d6 |
children | d6f174c2a83e |
files | libpurple/protocols/yahoo/yahoo.c libpurple/protocols/yahoo/yahoo_filexfer.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Sun Jan 06 21:47:02 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Sun Jan 06 21:56:12 2008 +0000 @@ -1601,7 +1601,7 @@ magic_ptr = seed; - while (*magic_ptr != (int)NULL) { + while (*magic_ptr != '\0') { char *loc; /* Ignore parentheses. */
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c Sun Jan 06 21:47:02 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Sun Jan 06 21:56:12 2008 +0000 @@ -650,7 +650,7 @@ 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;