summaryrefslogtreecommitdiffhomepage
path: root/options/globals.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-02 17:59:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-02 17:59:38 +0100
commita9553d861b242b1ccea64485d43bdc3e44b38130 (patch)
tree5fe9f6bf92952fea47bbd74f7e742cb33c02736f /options/globals.hpp
parent6bcbfa36ff9b4d5efaefe0520a7b7ab5a603dfa9 (diff)
options: ensure ini_directory is never empty
Diffstat (limited to 'options/globals.hpp')
-rw-r--r--options/globals.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/globals.hpp b/options/globals.hpp
index ae7f8e4d..9eb5777f 100644
--- a/options/globals.hpp
+++ b/options/globals.hpp
@@ -19,7 +19,7 @@ struct OTR_OPTIONS_EXPORT ini_ctx
QString pathname;
QMutex mtx { QMutex::Recursive };
- int refcount = 0;
+ unsigned refcount = 0;
bool modifiedp = false;
ini_ctx();