summaryrefslogtreecommitdiff
path: root/src/gui/widgets/passwordfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-13 12:49:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-13 12:49:11 +0300
commitc4cef10f92a8ff3fc668e0644d38744dccd06392 (patch)
tree048f4ac482571c5a424819d3e4507f67d21b8409 /src/gui/widgets/passwordfield.cpp
parentf0b7627b7d88c1d5bb484961377114b210c8dd53 (diff)
downloadmanaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.gz
manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.bz2
manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.xz
manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.zip
Fix signed/unsigned type for some vars.
Diffstat (limited to 'src/gui/widgets/passwordfield.cpp')
-rw-r--r--src/gui/widgets/passwordfield.cpp3
1 files changed, 2 insertions, 1 deletions
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<unsigned char>(
+ mSkin->getOption("passwordChar", 42)) : 42U)
{
}