# HG changeset patch # User John Bailey # Date 1199656572 0 # Node ID eeba86c553bede9cf8869d8d9e190b0da0cfe47d # Parent c72ea83f34d6aaf176effcdf3dfb8aa77de62b97 Fix a couple compile warnings. diff -r c72ea83f34d6 -r eeba86c553be libpurple/protocols/yahoo/yahoo.c --- 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. */ diff -r c72ea83f34d6 -r eeba86c553be libpurple/protocols/yahoo/yahoo_filexfer.c --- 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;