diff options
author | Steve Bennett <steveb@workware.net.au> | 2016-03-27 13:40:49 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-03-27 14:04:53 +1000 |
commit | 64994ec1d10c092f7ba6e04c24c64536e7e1fcb7 (patch) | |
tree | a956dd49c88090ba1681414c76746ae829e94a29 /jim-exec.c | |
parent | 09a51ce09670b8cb8fa33e29320f9b0980cb837a (diff) | |
download | jimtcl-64994ec1d10c092f7ba6e04c24c64536e7e1fcb7.zip jimtcl-64994ec1d10c092f7ba6e04c24c64536e7e1fcb7.tar.gz jimtcl-64994ec1d10c092f7ba6e04c24c64536e7e1fcb7.tar.bz2 |
exec: Fix a warning on mingw
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-exec.c')
-rw-r--r-- | jim-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -348,7 +348,7 @@ static int JimCheckWaitStatus(Jim_Interp *interp, pidtype pid, int waitStatus, J Jim_AppendStrings(interp, errStrObj, "child ", action, " by signal ", Jim_SignalId(WTERMSIG(waitStatus)), "\n", NULL); } - Jim_ListAppendElement(interp, errorCode, Jim_NewIntObj(interp, pid)); + Jim_ListAppendElement(interp, errorCode, Jim_NewIntObj(interp, (long)pid)); Jim_ListAppendElement(interp, errorCode, Jim_NewStringObj(interp, Jim_SignalId(WTERMSIG(waitStatus)), -1)); Jim_ListAppendElement(interp, errorCode, Jim_NewStringObj(interp, Jim_SignalName(WTERMSIG(waitStatus)), -1)); } |