diff --git a/codepot/pecl-svn/svn.c b/codepot/pecl-svn/svn.c index 31102004..31035c98 100755 --- a/codepot/pecl-svn/svn.c +++ b/codepot/pecl-svn/svn.c @@ -1486,7 +1486,7 @@ PHP_FUNCTION(svn_diff) apr_pool_t *subpool; apr_file_t *outfile = NULL, *errfile = NULL; svn_error_t *err; - char *path1, *path2; + const char *path1, *path2; const char *utf8_path1 = NULL,*utf8_path2 = NULL; const char *can_path1 = NULL,*can_path2 = NULL; psvn_size_t path1len, path2len; @@ -2725,7 +2725,7 @@ PHP_FUNCTION(svn_blame) const char *repos_url = NULL; const char *utf8_repos_url = NULL; psvn_size_t repos_url_len; - int revision = -1; + long revision = -1; svn_error_t *err; svn_opt_revision_t start_revision = { 0 }, diff --git a/codepot/src/codepot/views/code_blame.php b/codepot/src/codepot/views/code_blame.php index d863f58d..5de8012f 100644 --- a/codepot/src/codepot/views/code_blame.php +++ b/codepot/src/codepot/views/code_blame.php @@ -261,7 +261,7 @@ $this->load->view ( 0) + if (array_key_exists('properties', $file) && !is_null($file['properties']) && count($file['properties']) > 0) { print '