summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-23 09:32:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-23 09:32:32 (GMT)
commit9394984c31c5ff3087bbdc784811b2d57fda1114 (patch)
treef5ec627adfbd07b7dc0f810e04d91ad232cc5ba3 /generic/tclObj.c
parenta728d03f7d2b232dbc44f2669d8eb326b1029d3d (diff)
parentdedbad27485a6129dc66cda6bb0c9f51ba639ae5 (diff)
downloadtcl-9394984c31c5ff3087bbdc784811b2d57fda1114.zip
tcl-9394984c31c5ff3087bbdc784811b2d57fda1114.tar.gz
tcl-9394984c31c5ff3087bbdc784811b2d57fda1114.tar.bz2
merge novem
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index b9dc4f4..f004c3a 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -1811,7 +1811,7 @@ Tcl_DbNewBooleanObj(
TclDbNewObj(objPtr, file, line);
objPtr->bytes = NULL;
- objPtr->internalRep.longValue = (boolValue? 1 : 0);
+ objPtr->internalRep.longValue = (boolValue != 0);
objPtr->typePtr = &tclIntType;
return objPtr;
}