Subject: Re: warning: comparison between signed and unsigned

Re: warning: comparison between signed and unsigned

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Jul 2009 20:47:35 +0200 (CEST)

On Mon, 27 Jul 2009, Steven Van Ingelgem wrote:

> - if (fds[i].fd.channel->session->socket_fd > maxfd)
> + if (fds[i].fd.channel->session->socket_fd > (unsigned
> int)maxfd)

but but but... aren't both socket_fd and maxfd regular ints?

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-27