diff options
author | stanton <stanton> | 1998-11-11 04:54:06 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-11-11 04:54:06 (GMT) |
commit | c0fd219230e4295c44743ad165a0d5a1c980b7dc (patch) | |
tree | ecdef91e34f72a712092b469a2a5ff861db47fb7 /generic/tclCmdAH.c | |
parent | 131c68d85079ca5a553b28fef489cf29b79f1176 (diff) | |
download | tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.zip tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.tar.gz tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.tar.bz2 |
lots of lint
wrapped mutex declarations in ifdefs to avoid compiler warnings
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r-- | generic/tclCmdAH.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index 91070ed..f77072e 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdAH.c,v 1.1.2.5 1998/11/10 02:40:58 stanton Exp $ + * RCS: @(#) $Id: tclCmdAH.c,v 1.1.2.6 1998/11/11 04:54:07 stanton Exp $ */ #include "tclInt.h" @@ -2211,7 +2211,7 @@ Tcl_FormatObjCmd(dummy, interp, objc, objv) size = Tcl_UtfAtIndex(ptrValue, stringLen) - ptrValue; if (size) { - memcpy(ptr, ptrValue, size); + memcpy(ptr, ptrValue, (size_t) size); ptr += size; } while (pad > 0) { |