summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r--generic/tclRegexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c
index 558355f..a823af5 100644
--- a/generic/tclRegexp.c
+++ b/generic/tclRegexp.c
@@ -731,7 +731,7 @@ TclRegError(
snprintf(cbuf, sizeof(cbuf), "%d", status);
(void) TclReError(REG_ITOA, cbuf, sizeof(cbuf));
- Tcl_SetErrorCode(interp, "REGEXP", cbuf, buf, NULL);
+ Tcl_SetErrorCode(interp, "REGEXP", cbuf, buf, (void *)NULL);
}
/*