/pidgin/main: ee2aad1340bf: ref_count should never be negative

Mark Doliner mark at kingant.net
Tue Jan 22 03:41:07 EST 2013


Changeset: ee2aad1340bfda616a99a31eadd2527e4478a732
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2013-01-22 00:19 -0800
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/ee2aad1340bf

Description:

ref_count should never be negative

diffstat:

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

diffs (12 lines):

diff --git a/libpurple/buddyicon.c b/libpurple/buddyicon.c
--- a/libpurple/buddyicon.c
+++ b/libpurple/buddyicon.c
@@ -42,7 +42,7 @@ struct _PurpleBuddyIcon
 	                                the icon data.                       */
 	char *username;            /**< The username the icon belongs to.    */
 	char *checksum;            /**< The protocol checksum.               */
-	int ref_count;             /**< The buddy icon reference count.      */
+	unsigned int ref_count;    /**< The buddy icon reference count.      */
 };
 
 /**



More information about the Commits mailing list