Commit de157560 authored by Pekka Pessi's avatar Pekka Pessi

Removed sign-compare warnings.

libsofia-sip-ua/su/su_port.c
libsofia-sip-ua/su/su_wait.c
libsofia-sip-ua/iptsec/auth_client.c
utils/sip-date.c

darcs-hash:20061211160632-65a35-5ea2fa335ec43c85ef6a51f83a98bab02684df83.gz
parent 853a4902
......@@ -256,7 +256,8 @@ int ca_info(auth_client_t *ca,
return 0;
if (!ca->ca_auc
|| ca->ca_auc->auc_plugin_size <= offsetof(auth_client_plugin_t, auc_info)
|| (size_t)ca->ca_auc->auc_plugin_size <=
offsetof(auth_client_plugin_t, auc_info)
|| !ca->ca_auc->auc_info)
return 0;
......
......@@ -1285,9 +1285,9 @@ int su_port_wait_events(su_port_t *self, su_duration_t tout)
}
#endif
i = su_wait(waits, n, tout);
i = su_wait(waits, (unsigned)n, tout);
if (i >= 0 && (unsigned)i < n) {
if (i >= 0 && i < n) {
#if HAVE_POLL
/* poll() can return events for multiple wait objects */
if (self->sup_multishot) {
......
......@@ -249,7 +249,7 @@ int su_wait(su_wait_t waits[], unsigned n, su_duration_t timeout)
if (errno == EINTR)
continue;
return i;
return -1;
}
#endif
}
......
......@@ -110,7 +110,7 @@ int main(int ac, char *av[])
usage();
if ((s = av[1])) {
int n, m;
size_t n, m;
/* Concatenate all arguments with a space in between them */
for (n = 0; (s = av[1]); av++) {
m = strlen(s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment