summaryrefslogtreecommitdiffstats
path: root/database/rrd.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-26 17:10:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-26 17:10:03 +0000
commit271f618a49421e87945c1f68b59a8775469390d5 (patch)
tree166cbc9497e13b878bdd7043ca58f6b3da006f2a /database/rrd.h
parentAdding upstream version 1.43.0. (diff)
downloadnetdata-271f618a49421e87945c1f68b59a8775469390d5.tar.xz
netdata-271f618a49421e87945c1f68b59a8775469390d5.zip
Adding upstream version 1.43.1.upstream/1.43.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'database/rrd.h')
-rw-r--r--database/rrd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/rrd.h b/database/rrd.h
index 197ec45cb..9c5ad6f2f 100644
--- a/database/rrd.h
+++ b/database/rrd.h
@@ -465,7 +465,7 @@ static inline uint64_t storage_engine_disk_space_max(STORAGE_ENGINE_BACKEND back
}
uint64_t rrdeng_disk_space_used(STORAGE_INSTANCE *db_instance);
-static inline size_t storage_engine_disk_space_used(STORAGE_ENGINE_BACKEND backend __maybe_unused, STORAGE_INSTANCE *db_instance __maybe_unused) {
+static inline uint64_t storage_engine_disk_space_used(STORAGE_ENGINE_BACKEND backend __maybe_unused, STORAGE_INSTANCE *db_instance __maybe_unused) {
#ifdef ENABLE_DBENGINE
if(likely(backend == STORAGE_ENGINE_BACKEND_DBENGINE))
return rrdeng_disk_space_used(db_instance);