diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-01 09:25:42 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-01 09:25:42 -0800 |
commit | 08cebd08c7645737d44de8a801af7c2df7874571 (patch) | |
tree | 78969e3fda526f41a4b846652fccd30b53e14b48 /txr.c | |
parent | 04ed380c4a389c0c21eae8e3cd35e7e44506a2e3 (diff) | |
download | txr-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 'txr.c')
-rw-r--r-- | txr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,10 +151,10 @@ static int txr_main(int argc, char **argv) int match_loglevel = opt_loglevel; progname = argv[0] ? argv[0] : progname; - protect(&spec_file_str, 0); + prot1(&spec_file_str); yyin_stream = std_input; - protect(&yyin_stream, 0); + prot1(&yyin_stream); if (argc <= 1) { hint(); |