summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;