summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-11-23 18:01:05 +0100
committerArno <arno@disconnect.de>2018-11-23 18:01:05 +0100
commite5274f4c27f847bedaa910a84ed3468d1aba32e1 (patch)
tree5d6490c1ec081c88539ea9cdf528c9f285b780f0 /helper.h
parent7992144aca4a80cd9903a8ea7df0e210087871b1 (diff)
downloadSheMov-e5274f4c27f847bedaa910a84ed3468d1aba32e1.tar.gz
SheMov-e5274f4c27f847bedaa910a84ed3468d1aba32e1.tar.bz2
SheMov-e5274f4c27f847bedaa910a84ed3468d1aba32e1.zip
Fix helper warnings
Sprinkle some static_casts here and there and fix auto conversions. Also introduce const ints for what to read for calculating the MD5-Sum of a file... Seems to work fine.
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/helper.h b/helper.h
index d37490e..4b8f5ec 100644
--- a/helper.h
+++ b/helper.h
@@ -64,9 +64,9 @@ namespace Helper {
qint64 toSeconds() const;
private:
- int mHours;
- int mMinutes;
- int mSeconds;
+ qint64 mHours;
+ qint64 mMinutes;
+ qint64 mSeconds;
};
}