diff -r 7a40d62c81d8 -r 07ffa66fd57b libpurple/protocols/mxit/roster.c --- a/libpurple/protocols/mxit/roster.c Wed Mar 27 01:37:02 2013 +0200 +++ b/libpurple/protocols/mxit/roster.c Wed Apr 03 11:21:06 2013 +0200 @@ -23,8 +23,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "internal.h" -#include "purple.h" +#include "internal.h" +#include "debug.h" #include "protocol.h" #include "mxit.h" @@ -83,7 +83,7 @@ /* add Mood option */ type = purple_status_type_new_with_attrs( PURPLE_STATUS_MOOD, "mood", NULL, FALSE, TRUE, TRUE, - PURPLE_MOOD_NAME, _("Mood Name"), purple_value_new( PURPLE_TYPE_STRING ), + PURPLE_MOOD_NAME, _( "Mood Name" ), purple_value_new( PURPLE_TYPE_STRING ), NULL ); statuslist = g_list_append( statuslist, type ); @@ -183,7 +183,7 @@ * * @param account The MXit account object */ -PurpleMood* mxit_get_moods(PurpleAccount *account) +PurpleMood* mxit_get_moods( PurpleAccount *account ) { return mxit_moods; } @@ -672,7 +672,7 @@ { struct contact* con = NULL; struct contact* match = NULL; - int i; + unsigned int i; /* run through all the invites and try and find the match */ for ( i = 0; i < g_list_length( session->invites ); i++ ) {