summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-09-20 15:53:37 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-09-20 15:53:37 (GMT)
commit7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9 (patch)
treee5f46cd974e0538c358e19cb02f1ea2c626ef55a
parent107d130ce3db87a24b5136c006f32136b60d079c (diff)
downloadtcl-7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9.zip
tcl-7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9.tar.gz
tcl-7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9.tar.bz2
Silence compiler warning -- fix safety of macro.
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 9629709..3dbffeb 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4377,7 +4377,7 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file,
}
#define TclHasStringRep(objPtr) \
- objPtr->bytes != NULL
+ (objPtr->bytes != NULL)
/*
*----------------------------------------------------------------