diff options
author | dkf <dkf@noemail.net> | 2005-11-07 08:56:26 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-11-07 08:56:26 (GMT) |
commit | e51bc5ec0fabc10a9bdcffcf36fa8b6c4fe0fd21 (patch) | |
tree | 58e7324544d89c9206c562311904598ce1bbc4dd /generic/tclPipe.c | |
parent | 2eedac916f052fac38cd656598632fc5901b24b5 (diff) | |
download | tcl-e51bc5ec0fabc10a9bdcffcf36fa8b6c4fe0fd21.zip tcl-e51bc5ec0fabc10a9bdcffcf36fa8b6c4fe0fd21.tar.gz tcl-e51bc5ec0fabc10a9bdcffcf36fa8b6c4fe0fd21.tar.bz2 |
Silence a warning.
FossilOrigin-Name: 5d787006a286e78b341dfaaefb9ef7daee99d64d
Diffstat (limited to 'generic/tclPipe.c')
-rw-r--r-- | generic/tclPipe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclPipe.c b/generic/tclPipe.c index 16dad41..3cec10c 100644 --- a/generic/tclPipe.c +++ b/generic/tclPipe.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclPipe.c,v 1.15 2005/11/04 23:01:40 patthoyts Exp $ + * RCS: @(#) $Id: tclPipe.c,v 1.16 2005/11/07 08:56:27 dkf Exp $ */ #include "tclInt.h" @@ -317,7 +317,8 @@ TclCleanupChildren( sprintf(msg1, "%lu", resolvedPid); if (WIFEXITED(waitStatus)) { if (interp != (Tcl_Interp *) NULL) { - sprintf(msg2, "%lu", WEXITSTATUS(waitStatus)); + sprintf(msg2, "%lu", + (unsigned long) WEXITSTATUS(waitStatus)); Tcl_SetErrorCode(interp, "CHILDSTATUS", msg1, msg2, NULL); } abnormalExit = 1; |