summaryrefslogtreecommitdiff
path: root/src/util/resource_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/resource_manager.cpp')
-rw-r--r--src/util/resource_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/resource_manager.cpp b/src/util/resource_manager.cpp
index 37fea2c67..22496a433 100644
--- a/src/util/resource_manager.cpp
+++ b/src/util/resource_manager.cpp
@@ -170,7 +170,7 @@ uint64_t ResourceManager::getTimeRemaining() const {
return d_thisCallTimeBudget - time_passed;
}
-void ResourceManager::spendResource(uint64_t ammount) throw (UnsafeInterruptException) {
+void ResourceManager::spendResource(unsigned ammount) throw (UnsafeInterruptException) {
++d_spendResourceCalls;
d_cumulativeResourceUsed += ammount;
if (!d_on) return;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback