diff -r f52357f34177 -r f0ae13a29cdf libpurple/protocols/gg/utils.c --- a/libpurple/protocols/gg/utils.c Sat Aug 17 10:20:46 2013 +0200 +++ b/libpurple/protocols/gg/utils.c Wed Aug 28 19:38:07 2013 +0200 @@ -112,7 +112,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; @@ -190,7 +190,7 @@ return joined; } -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) {