[Vm-dev] [commit][3422] Make the SSL code'
s delta variable const int to match the other platforms.
commits at squeakvm.org
commits at squeakvm.org
Wed Aug 12 17:30:06 UTC 2015
Revision: 3422
Author: eliot
Date: 2015-08-12 10:30:04 -0700 (Wed, 12 Aug 2015)
Log Message:
-----------
Make the SSL code's delta variable const int to match the other platforms.
Modified Paths:
--------------
trunk/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c
Modified: trunk/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c
===================================================================
--- trunk/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c 2015-08-12 00:09:24 UTC (rev 3421)
+++ trunk/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c 2015-08-12 17:30:04 UTC (rev 3422)
@@ -380,7 +380,8 @@
if(handleBuf[handle] == NULL) break;
if(handle >= handleMax) {
- int i, delta = 100;
+ const int delta = 100;
+ int i;
/* Resize the handle buffer */
handleBuf = realloc(handleBuf, (handleMax+delta)*sizeof(void*));
for(i = handleMax; i < handleMax+delta; i++)
More information about the Vm-dev
mailing list