You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/07/11 19:11:21 UTC
svn commit: r1360301 - /subversion/trunk/subversion/mod_dav_svn/liveprops.c
Author: stefan2
Date: Wed Jul 11 17:11:20 2012
New Revision: 1360301
URL: http://svn.apache.org/viewvc?rev=1360301&view=rev
Log:
* subversion/mod_dav_svn/liveprops.c
(insert_prop_internal): fix long to int conversion warning
Modified:
subversion/trunk/subversion/mod_dav_svn/liveprops.c
Modified: subversion/trunk/subversion/mod_dav_svn/liveprops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/liveprops.c?rev=1360301&r1=1360300&r2=1360301&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/liveprops.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/liveprops.c Wed Jul 11 17:11:20 2012
@@ -281,7 +281,7 @@ insert_prop_internal(const dav_resource
const char *value = NULL;
const char *s;
const dav_liveprop_spec *info;
- int global_ns;
+ long global_ns;
svn_error_t *serr;
/* ### TODO proper errors */
@@ -785,11 +785,11 @@ insert_prop_internal(const dav_resource
if (what == DAV_PROP_INSERT_NAME
|| (what == DAV_PROP_INSERT_VALUE && *value == '\0')) {
- s = apr_psprintf(result_pool, "<lp%d:%s/>" DEBUG_CR, global_ns,
+ s = apr_psprintf(result_pool, "<lp%ld:%s/>" DEBUG_CR, global_ns,
info->name);
}
else if (what == DAV_PROP_INSERT_VALUE) {
- s = apr_psprintf(result_pool, "<lp%d:%s>%s</lp%d:%s>" DEBUG_CR,
+ s = apr_psprintf(result_pool, "<lp%ld:%s>%s</lp%ld:%s>" DEBUG_CR,
global_ns, info->name, value, global_ns, info->name);
}
else {