From c4cef10f92a8ff3fc668e0644d38744dccd06392 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Jul 2014 12:49:11 +0300 Subject: Fix signed/unsigned type for some vars. --- src/gui/widgets/passwordfield.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/passwordfield.cpp') diff --git a/src/gui/widgets/passwordfield.cpp b/src/gui/widgets/passwordfield.cpp index b85eff686..d6d310616 100644 --- a/src/gui/widgets/passwordfield.cpp +++ b/src/gui/widgets/passwordfield.cpp @@ -29,7 +29,8 @@ PasswordField::PasswordField(const Widget2 *const widget, const std::string &text) : TextField(widget, text), - mPasswordChar(mSkin ? mSkin->getOption("passwordChar", 42) : 42) + mPasswordChar(mSkin ? static_cast( + mSkin->getOption("passwordChar", 42)) : 42U) { } -- cgit v1.2.3-70-g09d2