blob: ad888507db6dcff1871d919998f6668a6310611f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-bq,v 1.1 2006/05/15 15:33:00 christos Exp $
--- tcl/tclBasic.c.orig 1995-02-24 16:19:53.000000000 -0500
+++ tcl/tclBasic.c 2006-05-15 11:12:41.000000000 -0400
@@ -656,7 +656,7 @@
length = strlen(iPtr->result);
if ((limit - dst) < length) {
char *newCopy;
- int delta;
+ long delta;
copySize = length + 10 + dst - copy;
newCopy = (char *) malloc((unsigned) copySize);
@@ -869,7 +869,7 @@
if (dst >= limit) {
char *newCopy;
- int delta;
+ long delta;
copySize *= 2;
newCopy = (char *) malloc((unsigned) copySize);
|