[asterisk-commits] russell: branch russell/dtls r206082 - /team/russell/dtls/main/dtls.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 12 15:48:47 CDT 2009


Author: russell
Date: Sun Jul 12 15:48:44 2009
New Revision: 206082

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=206082
Log:
Resolve a compiler warning.

Modified:
    team/russell/dtls/main/dtls.c

Modified: team/russell/dtls/main/dtls.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/russell/dtls/main/dtls.c?view=diff&rev=206082&r1=206081&r2=206082
==============================================================================
--- team/russell/dtls/main/dtls.c (original)
+++ team/russell/dtls/main/dtls.c Sun Jul 12 15:48:44 2009
@@ -474,8 +474,8 @@
 	unsigned char *buf;
 
 	if ((res = BIO_write(conn->bio_rd, enc_buf, len)) != res) {
-		ast_log(LOG_WARNING, "Needed to write '%d' bytes into the BIO, "
-				"but only wrote '%d'\n", len, res);
+		ast_log(LOG_WARNING, "Needed to write '%u' bytes into the BIO, "
+				"but only wrote '%d'\n", (unsigned int) len, res);
 		return;
 	}
 




More information about the asterisk-commits mailing list