summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-14 13:00:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-14 13:00:46 (GMT)
commit2c5d1036db0d85c674967af5103c714092e279a7 (patch)
tree4078b1f733e2bb22b44c818b5618411601ebf791 /generic/tclRegexp.c
parent8a2c820213312ae39df29ae3f0f3d7ef83e6d4a3 (diff)
parent15b0a7813d5d23096f735981f1af2c90e283afc6 (diff)
downloadtcl-2c5d1036db0d85c674967af5103c714092e279a7.zip
tcl-2c5d1036db0d85c674967af5103c714092e279a7.tar.gz
tcl-2c5d1036db0d85c674967af5103c714092e279a7.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r--generic/tclRegexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c
index eb23f72..5f8dc20 100644
--- a/generic/tclRegexp.c
+++ b/generic/tclRegexp.c
@@ -64,7 +64,7 @@
#define NUM_REGEXPS 30
-typedef struct ThreadSpecificData {
+typedef struct {
int initialized; /* Set to 1 when the module is initialized. */
char *patterns[NUM_REGEXPS];/* Strings corresponding to compiled regular
* expression patterns. NULL means that this
@@ -679,7 +679,7 @@ TclRegAbout(
resultObj = Tcl_NewObj();
Tcl_ListObjAppendElement(NULL, resultObj,
- Tcl_NewIntObj((int) regexpPtr->re.re_nsub));
+ Tcl_NewWideIntObj((Tcl_WideInt) regexpPtr->re.re_nsub));
/*
* Now append a list of all the bit-flags set for the RE.