summaryrefslogtreecommitdiffstats
path: root/generic/tclLink.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclLink.c')
-rw-r--r--generic/tclLink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclLink.c b/generic/tclLink.c
index b136709..cb56bd6 100644
--- a/generic/tclLink.c
+++ b/generic/tclLink.c
@@ -879,7 +879,7 @@ LinkTraceProc(
return NULL;
case TCL_LINK_BINARY:
- value = (char *) Tcl_GetByteArrayFromObj(valueObj, &valueLength);
+ value = (char *) Tcl_GetBytesFromObj(NULL, valueObj, &valueLength);
if (value == NULL) {
return (char *) "invalid binary value";
} else if (valueLength != linkPtr->bytes) {