Author: gbg
Date: Sat Jun 1 15:36:07 2013
New Revision: 1488538
URL: http://svn.apache.org/r1488538
Log:
On the invoke-diff-cmd branch: Cast NULL to char*.
* subversion/libsvn_subr/io.c
(svn_io_run_external_diff): Cast Null to char*.
Modified:
subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c
Modified:
subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c
URL:
http://svn.apache.org/viewvc/subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c?rev=1488538&r1=1488537&r2=1488538&view=diff
==============================================================================
--- subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c
(original)
+++ subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c Sat
Jun 1 15:36:07 2013
@@ -3035,8 +3035,8 @@ svn_io_run_external_diff(const char *dir
for (i = 0; cmd[i]; ++i)
{
- failed_command = apr_pstrcat(pool, failed_command, cmd[i], NULL);
- failed_command = apr_pstrcat(pool, failed_command, " ", NULL);
+ failed_command = apr_pstrcat(pool, failed_command, cmd[i], (char*)
NULL);
+ failed_command = apr_pstrcat(pool, failed_command, " ", (char*)
NULL);
}
return svn_error_createf(SVN_ERR_EXTERNAL_PROGRAM, NULL,
_("'%s' was expanded to '%s' and returned %d"),