diff -r 3949b825f4bf -r faf0414a8b51 libpurple/protocols/gg/utils.c --- a/libpurple/protocols/gg/utils.c Tue Aug 20 14:04:56 2013 +0200 +++ b/libpurple/protocols/gg/utils.c Wed Aug 21 14:59:29 2013 +0200 @@ -114,7 +114,7 @@ gchar * ggp_utf8_strndup(const gchar *str, gsize n) { - int raw_len = strlen(str); + size_t raw_len = strlen(str); gchar *end_ptr; if (str == NULL) return NULL; @@ -206,7 +206,7 @@ return buff; } -GList * ggp_list_truncate(GList *list, gint length, GDestroyNotify free_func) +GList * ggp_list_truncate(GList *list, guint length, GDestroyNotify free_func) { while (g_list_length(list) > length) {