]> git.pld-linux.org Git - packages/tcl.git/blame - tcl-64bit.patch
- up to devel series 8.5a2
[packages/tcl.git] / tcl-64bit.patch
CommitLineData
f4d5ba4e
JB
1--- tcl8.4.9/generic/tclObj.c.orig 2004-11-08 10:32:05.000000000 +0100
2+++ tcl8.4.9/generic/tclObj.c 2004-12-08 13:44:36.000000000 +0100
3@@ -1790,7 +1790,7 @@
4 Tcl_Panic( "string->integer conversion failed to convert the obj." );
8e1c27a4 5 }
f4d5ba4e 6
8e1c27a4 7- if (((long)((int)l)) == l) {
f4d5ba4e
JB
8+ if ((l <= UINT_MAX) && (l >= INT_MIN)) {
9 *intPtr = (int)l;
8e1c27a4 10 return TCL_OK;
11 }
This page took 0.096501 seconds and 4 git commands to generate.