diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-11 15:20:07 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-11 15:20:07 (GMT) |
| commit | cd48f2d3131be957186014e7012d9445e2bd26ff (patch) | |
| tree | ca2f013549de2b7536af92162bcf4bade5d91f35 /generic/tclRegexp.c | |
| parent | 26f98a5e562b865e82adcc6b7de05df4b0fa07de (diff) | |
| download | tcl-cd48f2d3131be957186014e7012d9445e2bd26ff.zip tcl-cd48f2d3131be957186014e7012d9445e2bd26ff.tar.gz tcl-cd48f2d3131be957186014e7012d9445e2bd26ff.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.c | 4 |
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. |
