I (Julian Foad) wrote:

>>  On Fri, 25 Oct 2013, Branko Čibej wrote:
>>>>   URL: http://svn.apache.org/r1535399
>>>>   Log:
>>>>   Cast NULL to (char *) in vararg calls to svn_dirent_join_many
>>>>   and svn_path_join_many.
>>> 
>>>   Why? On which platform do you expect a char* to have a different size
>>>   and/or representation than a void*?
> 
> Brane, we have been doing this consistently for the last three years; 
> Philip's commit was just continuing it.  See [1] for the original 
> discussion.
> 
> [1] Email to dev@ from Stefan Sperling on 2011-02-25, subject "Re: svn 
> commit: r1074461 ...", 
> <http://svn.haxx.se/dev/archive-2011-02/0841.shtml>.

Now having read the original discussion (October 2010; the later email 
mentioned above is merely a good reference to it), it appears we are doing this 
in order to silence compiler warnings rather than for object-code correctness.

- Julian

Reply via email to