diff options
Diffstat (limited to 'libpurple/protocols/gg/utils.c')
-rw-r--r-- | libpurple/protocols/gg/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/protocols/gg/utils.c b/libpurple/protocols/gg/utils.c index 71aefa8b4c..ba3575aee9 100644 --- a/libpurple/protocols/gg/utils.c +++ b/libpurple/protocols/gg/utils.c @@ -114,7 +114,7 @@ guint64 ggp_microtime(void) 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 @@ const gchar * ggp_ipv4_to_str(uint32_t raw_ip) 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) { |