From deef43ce3342df308cd19c9ff37a2e953ed31cf1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 Apr 2018 05:54:26 +0300 Subject: Fix different cast issues and remove useless explicit keywords. --- src/gui/widgets/pincode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/pincode.cpp') 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; -- cgit v1.2.3-70-g09d2