We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9661836 commit edaef27Copy full SHA for edaef27
src/Mac OS/sqMacSSL.c
@@ -288,7 +288,7 @@ sqInt sqCreateSSL(void)
288
}
289
290
if (handle >= handleMax) {
291
- int delta = 100;
+ const int delta = 100;
292
/* Resize the handle buffer */
293
handleBuf = (sqSSL**)realloc(handleBuf,
294
(handleMax + delta) * sizeof(sqSSL*));
src/Win32/sqWin32SSL.c
@@ -380,7 +380,8 @@ sqInt sqCreateSSL(void) {
380
if(handleBuf[handle] == NULL) break;
381
382
if(handle >= handleMax) {
383
- int i, delta = 100;
384
+ int i;
385
386
handleBuf = realloc(handleBuf, (handleMax+delta)*sizeof(void*));
387
for(i = handleMax; i < handleMax+delta; i++)
0 commit comments