diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/mailmessage.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/pincode.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/mailmessage.h b/src/gui/mailmessage.h index fb8ec9130..0d5399c3a 100644 --- a/src/gui/mailmessage.h +++ b/src/gui/mailmessage.h @@ -52,7 +52,7 @@ struct MailMessage final std::string text; int64_t id; int time; - int expireTime; + int64_t expireTime; int64_t money; MailMessageType::Type type; bool read; diff --git a/src/gui/widgets/pincode.cpp b/src/gui/widgets/pincode.cpp index 26b6f29d3..545b7313b 100644 --- a/src/gui/widgets/pincode.cpp +++ b/src/gui/widgets/pincode.cpp @@ -184,7 +184,7 @@ void Pincode::shuffle(uint32_t seed) const int k = 2; for (size_t f = 0; f < 10; f ++) - tab[f] = f; + tab[f] = CAST_S32(f); for (size_t f = 1; f < 10; f ++) { seed = baseSeed + seed * multiplier; |