diff options
author | Michael McConville <mmcconville@mykolab.com> | 2015-12-05 18:00:12 -0500 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2015-12-05 18:50:53 -0500 |
commit | e0877888da128c7a1fcb24f5a7b5959c54631e18 (patch) | |
tree | 01840925f9868764a6e15c6bb3a4b281127f42d9 /src/main.c | |
parent | 3a1d84cfc0988a3dbdba7a440571e987cb68973a (diff) |
Use NULL rather than (type *) 0.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1451,9 +1451,9 @@ void readin (void) { static char yy_stdinit[] = "FILE *yyin = stdin, *yyout = stdout;"; static char yy_nostdinit[] = - "FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;"; + "FILE *yyin = NULL, *yyout = NULL;"; - line_directive_out ((FILE *) 0, 1); + line_directive_out(NULL, 1); if (yyparse ()) { pinpoint_message (_("fatal parse error")); @@ -1760,7 +1760,7 @@ void set_up_initial_allocations (void) dss = allocate_int_ptr_array (current_max_dfas); dfaacc = allocate_dfaacc_union (current_max_dfas); - nultrans = (int *) 0; + nultrans = NULL; } |