summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-01 09:25:42 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-01 09:25:42 -0800
commit08cebd08c7645737d44de8a801af7c2df7874571 (patch)
tree78969e3fda526f41a4b846652fccd30b53e14b48 /lib.c
parent04ed380c4a389c0c21eae8e3cd35e7e44506a2e3 (diff)
downloadtxr-08cebd08c7645737d44de8a801af7c2df7874571.tar.gz
txr-08cebd08c7645737d44de8a801af7c2df7874571.tar.bz2
txr-08cebd08c7645737d44de8a801af7c2df7874571.zip
Bug ID 27895: Calls to protect have an argument list terminated
by the integer constant 0 rather than a proper null pointer constant.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 5694b9a1..aa17a7a5 100644
--- a/lib.c
+++ b/lib.c
@@ -1681,7 +1681,8 @@ static void obj_init(void)
&two, &negone, &maxint, &minint,
&null_string, &nil_string,
&null_list, &equal_f,
- &identity_f, &prog_string, 0);
+ &identity_f, &prog_string,
+ (obj_t **) 0);
nil_string = string("nil");