diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2014-11-13 03:55:54 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2014-11-13 03:55:54 -0500 |
commit | d9532a5e0ba6fc17c2e61353e500fafd2991295c (patch) | |
tree | d5bc20b6abded79ecd59b5ffbafe4c91dffb1a07 | |
parent | cf5e709cbc5ea60a7d13c6e67faa7222dbc512b5 (diff) | |
download | pidgin-d9532a5e0ba6fc17c2e61353e500fafd2991295c.tar.gz |
Fix a couple more signed/unsigned warnings.
I still don't know why these only appear on Jenkins...
-rw-r--r-- | libpurple/dnsquery.c | 2 | ||||
-rw-r--r-- | libpurple/tests/test_oscar_util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/dnsquery.c b/libpurple/dnsquery.c index 5f55915407..2cacb5c928 100644 --- a/libpurple/dnsquery.c +++ b/libpurple/dnsquery.c @@ -421,7 +421,7 @@ cope_with_gdb_brokenness(void) if(n < 0) return; - e[MIN(n,sizeof(e)-1)] = '\0'; + e[MIN((gsize)n,sizeof(e)-1)] = '\0'; if(strstr(e,"gdb")) { purple_debug_info("dns", diff --git a/libpurple/tests/test_oscar_util.c b/libpurple/tests/test_oscar_util.c index 5f6ac1404c..380c9ec4f0 100644 --- a/libpurple/tests/test_oscar_util.c +++ b/libpurple/tests/test_oscar_util.c @@ -5,7 +5,7 @@ START_TEST(test_oscar_util_name_compare) { - int i; + size_t i; const char *good[] = { "test", "TEST", |