Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service: fix some compiler warnings
  • Loading branch information
perexg committed Jul 30, 2014
1 parent e665969 commit 07e2ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service.c
Expand Up @@ -405,9 +405,9 @@ service_build_filter(service_t *t)
ca = NULL;
if ((esf->esf_caid != (uint16_t)-1 || esf->esf_caprovider != -1)) {
LIST_FOREACH(ca, &st->es_caids, link) {
if (esf->esf_caid != -1 && ca->caid != esf->esf_caid)
if (esf->esf_caid != (uint16_t)-1 && ca->caid != esf->esf_caid)
continue;
if (esf->esf_caprovider != -1 && ca->providerid != esf->esf_caprovider)
if (esf->esf_caprovider != (uint32_t)-1 && ca->providerid != esf->esf_caprovider)
continue;
break;
}
Expand Down

0 comments on commit 07e2ad2

Please sign in to comment.