diff freeDiameter/p_out.c @ 136:abd3c441780b

Fix 64 bits warnings
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 16 Dec 2009 16:51:42 +0900
parents eaa5205091d4
children 4679ff581d6a
line wrap: on
line diff
--- a/freeDiameter/p_out.c	Wed Dec 16 14:44:56 2009 +0900
+++ b/freeDiameter/p_out.c	Wed Dec 16 16:51:42 2009 +0900
@@ -102,7 +102,7 @@
 	/* Set the thread name */
 	{
 		char buf[48];
-		sprintf(buf, "OUT/%.*s", sizeof(buf) - 5, peer->p_hdr.info.pi_diamid);
+		sprintf(buf, "OUT/%.*s", (int)sizeof(buf) - 5, peer->p_hdr.info.pi_diamid);
 		fd_log_threadname ( buf );
 	}
 	
"Welcome to our mercurial repository"