--- a/libpurple/plugins/tcl/tcl_ref.c Tue Aug 20 14:04:56 2013 +0200 +++ b/libpurple/plugins/tcl/tcl_ref.c Wed Aug 21 14:59:29 2013 +0200 @@ -117,12 +117,12 @@ PurpleStringref *type; void *value; static const char prefix[] = "purple-"; - static const int prefixlen = sizeof(prefix) - 1; + static const gsize prefixlen = sizeof(prefix) - 1; if (strlen(bytes) < prefixlen || strncmp(bytes, prefix, prefixlen) || (ptr = strchr(bytes, ':')) == NULL - || (ptr - bytes) == prefixlen) + || (gsize)(ptr - bytes) == prefixlen) goto badobject; /* Bad Ethan */