summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-07-01 12:07:01 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-07-01 12:07:01 (GMT)
commit35a60d2794da3ef12fc3ed0b92c761c67c9b6d04 (patch)
tree20a669a4914e6b26fec9be2b1629cbaa51575f20 /win/tclWinInit.c
parentbdd54ab79cadc08ebeeb170afa7ba1a2cfaf0c26 (diff)
downloadtcl-35a60d2794da3ef12fc3ed0b92c761c67c9b6d04.zip
tcl-35a60d2794da3ef12fc3ed0b92c761c67c9b6d04.tar.gz
tcl-35a60d2794da3ef12fc3ed0b92c761c67c9b6d04.tar.bz2
Fix warning
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r--win/tclWinInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index 9c1217c..9f3ad4d 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclWinInit.c,v 1.58 2004/06/29 14:03:46 dgp Exp $
+ * RCS: @(#) $Id: tclWinInit.c,v 1.59 2004/07/01 12:07:01 dkf Exp $
*/
#include "tclWinInt.h"
@@ -185,7 +185,7 @@ SetDefaultLibraryDir(directory)
* multiple times to the same value that's not harmful.
*/
if (defaultLibraryDirLength != numBytes
- || memcmp(defaultLibraryDir, bytes, numBytes) != 0) {
+ || memcmp(defaultLibraryDir, bytes, (unsigned)numBytes) != 0) {
Tcl_Panic("Attempt to modify defaultLibraryDir");
}
return;