summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/settings.h b/src/settings.h
index c79e4e5..6b4e882 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -61,8 +61,8 @@ struct Settings
Atomic<bool> enable_resampling{true};
- Atomic<int> number_of_files;
- Atomic<int> number_of_files_loaded;
+ Atomic<std::size_t> number_of_files;
+ Atomic<std::size_t> number_of_files_loaded;
Atomic<std::string> current_file;
};
@@ -86,8 +86,8 @@ struct SettingsGetter
SettingRef<bool> enable_resampling;
- SettingRef<int> number_of_files;
- SettingRef<int> number_of_files_loaded;
+ SettingRef<std::size_t> number_of_files;
+ SettingRef<std::size_t> number_of_files_loaded;
SettingRef<std::string> current_file;
SettingsGetter(Settings& settings)
@@ -130,8 +130,8 @@ public:
Notifier<bool> enable_resampling;
- Notifier<int> number_of_files;
- Notifier<int> number_of_files_loaded;
+ Notifier<std::size_t> number_of_files;
+ Notifier<std::size_t> number_of_files_loaded;
Notifier<std::string> current_file;
void evaluate()