summaryrefslogtreecommitdiffstats
path: root/generic/tclLiteral.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-08 20:57:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-08 20:57:11 (GMT)
commita1f9566f74e6769c201e4040540880eb58e0767c (patch)
treea289e48b1864255ce82418fdd52e26698d24109b /generic/tclLiteral.c
parent121e90a73db69eff2a2c317545416c7a0308d8eb (diff)
downloadtcl-a1f9566f74e6769c201e4040540880eb58e0767c.zip
tcl-a1f9566f74e6769c201e4040540880eb58e0767c.tar.gz
tcl-a1f9566f74e6769c201e4040540880eb58e0767c.tar.bz2
msvc compiler warning: signed-unsigned mismatch.
Diffstat (limited to 'generic/tclLiteral.c')
-rw-r--r--generic/tclLiteral.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c
index e2ee9b4..ce258cf 100644
--- a/generic/tclLiteral.c
+++ b/generic/tclLiteral.c
@@ -323,7 +323,7 @@ TclFetchLiteral(
unsigned int index) /* Index of the desired literal, as returned
* by prior call to TclRegisterLiteral() */
{
- if (index >= envPtr->literalArrayNext) {
+ if (index >= (unsigned int) envPtr->literalArrayNext) {
return NULL;
}
return envPtr->literalArrayPtr[index].objPtr;