INN commit: trunk/nnrpd (tls.c)

INN Commit Russ_Allbery at isc.org
Sat Oct 25 17:15:32 UTC 2008


    Date: Saturday, October 25, 2008 @ 10:15:31
  Author: iulius
Revision: 8146

Fix a cast which causes a compilation warning on 64-bit architectures.

Modified:
  trunk/nnrpd/tls.c

-------+
 tls.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: tls.c
===================================================================
--- tls.c	2008-10-25 17:13:34 UTC (rev 8145)
+++ tls.c	2008-10-25 17:15:31 UTC (rev 8146)
@@ -552,12 +552,12 @@
 	return (ret);
 
     if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) {
-	Printf("read from %08X [%08lX] (%d bytes => %ld (0x%X))", (unsigned int) bio, (long unsigned int) argp,
+	Printf("read from %08lX [%08lX] (%d bytes => %ld (0x%X))", (long unsigned int) bio, (long unsigned int) argp,
 		 argi, ret, (unsigned int) ret);
 	tls_dump(argp, (int) ret);
 	return (ret);
     } else if (cmd == (BIO_CB_WRITE | BIO_CB_RETURN)) {
-	Printf("write to %08X [%08lX] (%d bytes => %ld (0x%X))", (unsigned int) bio, (long unsigned int)argp,
+	Printf("write to %08lX [%08lX] (%d bytes => %ld (0x%X))", (long unsigned int) bio, (long unsigned int) argp,
 		 argi, ret, (unsigned int) ret);
 	tls_dump(argp, (int) ret);
     }



More information about the inn-committers mailing list