summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-21 05:54:26 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-23 03:31:27 +0300
commitdeef43ce3342df308cd19c9ff37a2e953ed31cf1 (patch)
tree89f778f413734c62e0176a5541b628f8318511dc /src/gui/widgets
parent3147797b7973250aabbd2fdd8cf54dda35fd440a (diff)
downloadmanaverse-deef43ce3342df308cd19c9ff37a2e953ed31cf1.tar.gz
manaverse-deef43ce3342df308cd19c9ff37a2e953ed31cf1.tar.bz2
manaverse-deef43ce3342df308cd19c9ff37a2e953ed31cf1.tar.xz
manaverse-deef43ce3342df308cd19c9ff37a2e953ed31cf1.zip
Fix different cast issues and remove useless explicit keywords.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/pincode.cpp2
1 files changed, 1 insertions, 1 deletions
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;