aboutsummaryrefslogtreecommitdiffstats
path: root/src/ccache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ccache.cpp')
-rw-r--r--src/ccache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccache.cpp b/src/ccache.cpp
index 70707c00..a1fa6a42 100644
--- a/src/ccache.cpp
+++ b/src/ccache.cpp
@@ -1325,7 +1325,7 @@ to_cache(Context& ctx,
failed(STATS_ERROR);
}
stats_update_size(ctx,
- ctx.stats_file.c_str(),
+ ctx.stats_file,
new_dest_stat.size_on_disk()
- orig_dest_stat.size_on_disk(),
orig_dest_stat ? 0 : 1);