Browse code

fix distcheck warnings.

Török Edvin authored on 2010/01/27 22:56:13
Showing 1 changed files
... ...
@@ -283,20 +283,20 @@ static int read_fd_data(struct fd_buf *buf)
283 283
       if (n < 0)
284 284
 	  return -1;
285 285
       if (msg.msg_flags & MSG_TRUNC) {
286
-	  logg("^Message truncated at %d bytes\n", n);
286
+	  logg("^Message truncated at %d bytes\n", (int)n);
287 287
 	  return -1;
288 288
       }
289 289
       if (msg.msg_flags & MSG_CTRUNC) {
290 290
 	  if (msg.msg_controllen > 0)
291 291
 	      logg("^Control message truncated at %d bytes, %d data read\n",
292
-		   msg.msg_controllen, n);
292
+		   (int)msg.msg_controllen, (int)n);
293 293
 	  else
294 294
 	      logg("^Control message truncated, no control data received, %d bytes read"
295 295
 #ifdef C_LINUX
296 296
 		   "(Is SELinux/AppArmor enabled, and blocking file descriptor passing?)"
297 297
 #endif
298 298
 		   "\n",
299
-		   n);
299
+		   (int)n);
300 300
 	  return -1;
301 301
       }
302 302
       if (msg.msg_controllen) {