summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/regguts.h1
-rw-r--r--generic/tclRegexp.h2
-rw-r--r--tests/oo.test2
3 files changed, 2 insertions, 3 deletions
diff --git a/generic/regguts.h b/generic/regguts.h
index ad9d5b9..b3dbaa4 100644
--- a/generic/regguts.h
+++ b/generic/regguts.h
@@ -70,7 +70,6 @@
*/
#define NOTREACHED 0
-#define xxx 1
#define DUPMAX _POSIX2_RE_DUP_MAX
#define DUPINF (DUPMAX+1)
diff --git a/generic/tclRegexp.h b/generic/tclRegexp.h
index eac0aaa..a263dfd 100644
--- a/generic/tclRegexp.h
+++ b/generic/tclRegexp.h
@@ -37,7 +37,7 @@ typedef struct TclRegexp {
* of subexpressions. */
rm_detail_t details; /* Detailed information on match (currently
* used only for REG_EXPECT). */
- unsigned int refCount; /* Count of number of references to this
+ size_t refCount; /* Count of number of references to this
* compiled regexp. */
} TclRegexp;
diff --git a/tests/oo.test b/tests/oo.test
index 2a6eb80..54c4b75 100644
--- a/tests/oo.test
+++ b/tests/oo.test
@@ -2053,7 +2053,7 @@ test oo-15.15 {method cloning must ensure that there is a string representation
} -body {
cls create foo
oo::objdefine foo {
- method m1 {} [string map {a b} {return hello}]
+ method m1 {} [string map {a b} {return hello}]
}
[oo::copy foo] m1
} -cleanup {