diff options
author | dgp <dgp@users.sourceforge.net> | 2017-04-12 13:36:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-04-12 13:36:47 (GMT) |
commit | 736a2956f2bc96ef982e528cda4e0905d858c7b7 (patch) | |
tree | 1a3a88e3800b4e20589af252610944895d51e33c /generic/tclRegexp.c | |
parent | b84f5f3a45069293685516738b37cbfdcb5553a1 (diff) | |
parent | 59f0c070d62204e43e5d39d6810a444218ebebb1 (diff) | |
download | tcl-736a2956f2bc96ef982e528cda4e0905d858c7b7.zip tcl-736a2956f2bc96ef982e528cda4e0905d858c7b7.tar.gz tcl-736a2956f2bc96ef982e528cda4e0905d858c7b7.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r-- | generic/tclRegexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c index 7596fa0..a01ace3 100644 --- a/generic/tclRegexp.c +++ b/generic/tclRegexp.c @@ -65,7 +65,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 @@ -678,7 +678,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. |