[Vm-dev] [commit][3240] Correct some printf type specs for srcLen in sqUnixOpenSSL.c

commits at squeakvm.org commits at squeakvm.org
Fri Jan 30 19:16:20 UTC 2015


Revision: 3240
Author:   eliot
Date:     2015-01-30 11:16:19 -0800 (Fri, 30 Jan 2015)
Log Message:
-----------
Correct some printf type specs for srcLen in sqUnixOpenSSL.c

Modified Paths:
--------------
    branches/Cog/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c

Property Changed:
----------------
    branches/Cog/platforms/Cross/vm/sqSCCSVersion.h


Property changes on: branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
___________________________________________________________________
Modified: checkindate
   - Thu Jan 29 14:34:06 PST 2015
   + Fri Jan 30 11:16:38 PST 2015

Modified: branches/Cog/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c
===================================================================
--- branches/Cog/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c	2015-01-30 19:03:23 UTC (rev 3239)
+++ branches/Cog/platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c	2015-01-30 19:16:19 UTC (rev 3240)
@@ -174,7 +174,7 @@
 		SSL_set_connect_state(ssl->ssl);
 	}
 
-	if(ssl->loglevel) printf("sqConnectSSL: BIO_write %d bytes\n", srcLen);
+	if(ssl->loglevel) printf("sqConnectSSL: BIO_write %ld bytes\n", srcLen);
 
 	n = BIO_write(ssl->bioRead, srcBuf, srcLen);
 
@@ -261,7 +261,7 @@
 		SSL_set_accept_state(ssl->ssl);
 	}
 
-	if(ssl->loglevel) printf("sqAcceptSSL: BIO_write %d bytes\n", srcLen);
+	if(ssl->loglevel) printf("sqAcceptSSL: BIO_write %ld bytes\n", srcLen);
 
 	n = BIO_write(ssl->bioRead, srcBuf, srcLen);
 
@@ -331,7 +331,7 @@
 
 	if(ssl == NULL || ssl->state != SQSSL_CONNECTED) return SQSSL_INVALID_STATE;
 
-	if(ssl->loglevel) printf("sqEncryptSSL: Encrypting %d bytes\n", srcLen);
+	if(ssl->loglevel) printf("sqEncryptSSL: Encrypting %ld bytes\n", srcLen);
 
 	nbytes = SSL_write(ssl->ssl, srcBuf, srcLen);
 	if(nbytes != srcLen) return SQSSL_GENERIC_ERROR;



More information about the Vm-dev mailing list