Browse code

fix compiler warning

git-svn: trunk@4808

Török Edvin authored on 2009/02/18 01:05:49
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Feb 17 18:36:22 EET 2009 (edwin)
2
+------------------------------------
3
+ * clamd/others.c: fix compiler warning
4
+
1 5
 Tue Feb 17 18:32:59 EET 2009 (edwin)
2 6
 ------------------------------------
3 7
  * clamd/others.c: add missing parameter
... ...
@@ -247,7 +247,7 @@ void fds_cleanup(struct fd_data *data)
247 247
     for (i = j ; i < data->nfds; i++)
248 248
 	data->buf[i].fd = -1;
249 249
     data->nfds = j;
250
-    logg("$Number of file descriptors polled: %u fds\n", data->nfds);
250
+    logg("$Number of file descriptors polled: %u fds\n", (unsigned) data->nfds);
251 251
     /* Shrink buffer */
252 252
     newbuf = realloc(data->buf, j*sizeof(*newbuf));
253 253
     if (newbuf)