fix compiler warning

git-svn: trunk@4808
remotes/push_mirror/0.95
Török Edvin 17 years ago
parent 625377ab50
commit ef49ed625f
  1. 4
      ChangeLog
  2. 2
      clamd/others.c

@ -1,3 +1,7 @@
Tue Feb 17 18:36:22 EET 2009 (edwin)
------------------------------------
* clamd/others.c: fix compiler warning
Tue Feb 17 18:32:59 EET 2009 (edwin)
------------------------------------
* clamd/others.c: add missing parameter

@ -247,7 +247,7 @@ void fds_cleanup(struct fd_data *data)
for (i = j ; i < data->nfds; i++)
data->buf[i].fd = -1;
data->nfds = j;
logg("$Number of file descriptors polled: %u fds\n", data->nfds);
logg("$Number of file descriptors polled: %u fds\n", (unsigned) data->nfds);
/* Shrink buffer */
newbuf = realloc(data->buf, j*sizeof(*newbuf));
if (newbuf)

Loading…
Cancel
Save