summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/txr.c b/txr.c
index ed089ce1..c69def68 100644
--- a/txr.c
+++ b/txr.c
@@ -304,7 +304,7 @@ static void sysroot_init(void)
#if HAVE_WINDOWS_H
val slash = regex_compile(lit("\\\\"), nil);
#endif
- protect(&prog_path, &sysroot_path, &stdlib_path, (val *) 0);
+ protect(&prog_path, &sysroot_path, &stdlib_path, convert(val *, 0));
prog_path = get_self_path();
#if HAVE_WINDOWS_H
prog_path = regsub(slash, lit("/"), prog_path);