summaryrefslogtreecommitdiffstats
path: root/unix/dltest/pkgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/dltest/pkgd.c')
-rw-r--r--unix/dltest/pkgd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/dltest/pkgd.c b/unix/dltest/pkgd.c
index ae9ff93..3718dfb 100644
--- a/unix/dltest/pkgd.c
+++ b/unix/dltest/pkgd.c
@@ -56,7 +56,7 @@ Pkgd_SubObjCmd(
|| (Tcl_GetIntFromObj(interp, objv[2], &second) != TCL_OK)) {
return TCL_ERROR;
}
- Tcl_SetObjResult(interp, Tcl_NewIntObj(first - second));
+ Tcl_SetObjResult(interp, Tcl_NewLongObj(first - second));
return TCL_OK;
}