summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-01 11:18:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-01 11:18:41 (GMT)
commit75225f0f64618f3ad8ae3424eb84a7ed59ffd1f3 (patch)
treefb3ca59a30b5b06e44d3418e9fab5a292ffd215b /generic
parentd9e578497f04f635c607c31a80305cccf3654126 (diff)
parent03a3a2d78e1c26683170d32685d3f4d3b9ed902d (diff)
downloadtcl-75225f0f64618f3ad8ae3424eb84a7ed59ffd1f3.zip
tcl-75225f0f64618f3ad8ae3424eb84a7ed59ffd1f3.tar.gz
tcl-75225f0f64618f3ad8ae3424eb84a7ed59ffd1f3.tar.bz2
Fix signed<->unsigned compare gcc compiler warning.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclLiteral.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c
index dc8770d..03200ca 100644
--- a/generic/tclLiteral.c
+++ b/generic/tclLiteral.c
@@ -426,7 +426,7 @@ TclRegisterLiteral(
} else {
nsPtr = NULL;
}
-
+
/*
* Is it in the interpreter's global literal table? If not, create it.
*/
@@ -938,7 +938,8 @@ RebuildLiteralTable(
register LiteralEntry *entryPtr;
LiteralEntry **bucketPtr;
const char *bytes;
- int oldSize, count, index, length;
+ unsigned int oldSize;
+ int count, index, length;
oldSize = tablePtr->numBuckets;
oldBuckets = tablePtr->buckets;
@@ -1007,7 +1008,7 @@ RebuildLiteralTable(
* Results:
* None.
*
- * Side effects:
+ * Side effects:
* Resets the internal representation of the CmdName Tcl_Obj
* using TclFreeIntRep().
*