Skip to content

Commit

Permalink
Make compiler happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nanosonde committed May 14, 2018
1 parent afff1cf commit d72fb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zend_accelerator_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static ZEND_FUNCTION(bcgen_compile_file)

ZCG(outfilename) = emalloc(outscript_name_len + 1);
memcpy(ZCG(outfilename), outscript_name, outscript_name_len);
ZCG(outfilename)[outscript_name_len + 1] = "\0";
ZCG(outfilename)[outscript_name_len + 1] = '\0';

handle.filename = script_name;
handle.free_filename = 0;
Expand Down

0 comments on commit d72fb8c

Please sign in to comment.