summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/dav/fs/repos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/fs/repos.c b/modules/dav/fs/repos.c
index 7c028377e8..8dde6f307c 100644
--- a/modules/dav/fs/repos.c
+++ b/modules/dav/fs/repos.c
@@ -1775,7 +1775,7 @@ static dav_prop_insert dav_fs_insert_prop(const dav_resource *resource,
if (resource->collection)
return DAV_PROP_INSERT_NOTDEF;
- (void) sprintf(buf, "%ld", resource->info->finfo.size);
+ (void) sprintf(buf, "%" APR_OFF_T_FMT, resource->info->finfo.size);
value = buf;
break;