/pidgin/main: de99b599db24: MXit: Fix compiler warning.

Andrew Victor andrew.victor at mxit.com
Tue Apr 2 18:56:47 EDT 2013

Changeset: de99b599db24c2a364a90169c550fc89345779f6
Author:	 Andrew Victor <andrew.victor at mxit.com>
Date:	 2013-04-03 00:53 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/de99b599db24


MXit: Fix compiler warning.

markup.c:549:2: warning: overflow in implicit constant conversion [-Woverflow]


 libpurple/protocols/mxit/markup.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/mxit/markup.c b/libpurple/protocols/mxit/markup.c
--- a/libpurple/protocols/mxit/markup.c
+++ b/libpurple/protocols/mxit/markup.c
@@ -202,7 +202,7 @@ static unsigned int asn_getlength( const
  *  @param utf8				The extracted string.  Must be deallocated by caller.
  *  @return					The number of bytes extracted
-static int asn_getUtf8( const char* data, char type, char** utf8 )
+static int asn_getUtf8( const char* data, unsigned char type, char** utf8 )
 	int		len;

More information about the Commits mailing list