summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-25 21:15:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-25 21:15:40 (GMT)
commit50e25405198e4d87a648289376b90e2e40dd2972 (patch)
tree9df20f81d3386f9903f6513365fe7940e57ce6da /generic/tclClock.c
parent4d61bea373ceb34971f2b91b2e8543c8a40eb243 (diff)
parent4fdbe79875a43efd9f42e75ccf256884f657dac3 (diff)
downloadtcl-50e25405198e4d87a648289376b90e2e40dd2972.zip
tcl-50e25405198e4d87a648289376b90e2e40dd2972.tar.gz
tcl-50e25405198e4d87a648289376b90e2e40dd2972.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index ba12b66..634ab1b 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -452,7 +452,7 @@ ClockGetdatefieldsObjCmd(
* that it isn't.
*/
- if (objv[1]->typePtr == &tclBignumType) {
+ if (TclHasIntRep(objv[1], &tclBignumType)) {
Tcl_SetObjResult(interp, literals[LIT_INTEGER_VALUE_TOO_LARGE]);
return TCL_ERROR;
}