summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-11 15:20:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-11 15:20:07 (GMT)
commit4775249efa107caa7895328913957997cf0bc6d8 (patch)
treeca2f013549de2b7536af92162bcf4bade5d91f35 /generic/tclRegexp.c
parent90ca2f4448e5aba75ffe9b71d877b557264a90a0 (diff)
downloadtcl-4775249efa107caa7895328913957997cf0bc6d8.zip
tcl-4775249efa107caa7895328913957997cf0bc6d8.tar.gz
tcl-4775249efa107caa7895328913957997cf0bc6d8.tar.bz2
Remove some unnecessary "struct" definitions and some type casts no longer necessary. No functional changes.
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.