diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2014-11-12 19:15:24 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2014-11-12 19:15:24 -0500 |
commit | 054be3b9af2b6fddefa37ab010c8a25c1719be8b (patch) | |
tree | 36d54403af39dbbe900a98f1df889ca914cdd5de | |
parent | 98401755c599a0a04c39ef3b38ad3041dd317837 (diff) | |
download | pidgin-054be3b9af2b6fddefa37ab010c8a25c1719be8b.tar.gz |
Fix signed/unsigned comparison warning.
The test still works correctly without the fix, but this is quieter.
-rw-r--r-- | libpurple/protocols/mxit/markup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/protocols/mxit/markup.c b/libpurple/protocols/mxit/markup.c index f1fa99a2c6..92d8d67a16 100644 --- a/libpurple/protocols/mxit/markup.c +++ b/libpurple/protocols/mxit/markup.c @@ -592,7 +592,7 @@ static void emoticon_returned( PurpleUtilFetchUrlData* url_data, gpointer user_d purple_debug_info( MXIT_PLUGIN_ID, "read the length '%i'\n", em_size ); #endif - if ( len - pos < em_size ) { + if ( len - pos < (gsize)em_size ) { /* not enough bytes left in data! */ purple_debug_error( MXIT_PLUGIN_ID, "Invalid emoticon received from wapsite (data length too long)\n"); g_free( em_id ); |