diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-11 01:53:04 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-11 01:53:04 +0200 |
commit | 0a657a0294b67deebf4fc8d95e9e9220339c1036 (patch) | |
tree | 74aa507537933d7715b05d33341f2ad38ff26cce /degesch.c | |
parent | 5ddf963e33da8d4592623363019a8d2858002623 (diff) | |
download | xK-0a657a0294b67deebf4fc8d95e9e9220339c1036.tar.gz xK-0a657a0294b67deebf4fc8d95e9e9220339c1036.tar.xz xK-0a657a0294b67deebf4fc8d95e9e9220339c1036.zip |
degesch: silence compiler warnings
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4061,9 +4061,9 @@ irc_fetch_next_nickname (struct server *s) split_str_ignore_empty (get_config_string (s->config, "nicks"), ',', &v); char *result = NULL; - if (s->nick_counter >= 0 && s->nick_counter < v.len) + if (s->nick_counter >= 0 && (size_t) s->nick_counter < v.len) result = str_vector_steal (&v, s->nick_counter++); - if (s->nick_counter >= v.len) + if ((size_t) s->nick_counter >= v.len) // Exhausted all nicknames s->nick_counter = -1; |