summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-02-06 22:20:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-02-06 22:20:27 (GMT)
commitef9011842356efbd49051a7b9dab5dd5acd74a2f (patch)
tree379f1165844e921bf16145912a2e845195d9b31a /generic
parenteb7de2c4e26d9f1c416f9047ec735393b0d36578 (diff)
downloadtcl-ef9011842356efbd49051a7b9dab5dd5acd74a2f.zip
tcl-ef9011842356efbd49051a7b9dab5dd5acd74a2f.tar.gz
tcl-ef9011842356efbd49051a7b9dab5dd5acd74a2f.tar.bz2
Silence a trivial warning
Diffstat (limited to 'generic')
-rw-r--r--generic/tclNamesp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index f5f3da1..fc1111f 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -22,7 +22,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNamesp.c,v 1.122 2007/02/06 21:08:06 dgp Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.123 2007/02/06 22:20:27 dkf Exp $
*/
#include "tclInt.h"
@@ -3113,7 +3113,8 @@ NamespaceChildrenCmd(
listPtr = Tcl_NewListObj(0, NULL);
if ((pattern != NULL) && TclMatchIsTrivial(pattern)) {
- int length = strlen(nsPtr->fullName);
+ unsigned int length = strlen(nsPtr->fullName);
+
if (strncmp(pattern, nsPtr->fullName, length) != 0) {
goto searchDone;
}