summaryrefslogtreecommitdiff
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorAlexander Laties <alex.laties@gmail.com>2016-04-25 16:10:03 -0400
committerAlexander Laties <alex.laties@gmail.com>2016-05-07 11:41:55 -0400
commit0a31e373f1728316b3dfed391ddcb99a474e4102 (patch)
tree1b1bcf1af2398481e7208610f6a2e49264fe11db /src/citra/config.cpp
parentc549c3607675dcaa7aa508477da89d0d3bec076b (diff)
fixup simple type conversions where possible
Diffstat (limited to 'src/citra/config.cpp')
-rw-r--r--src/citra/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 0d17c80bf..c5cb4fb38 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -85,7 +85,7 @@ void Config::ReadValues() {
// Debugging
Settings::values.use_gdbstub = sdl2_config->GetBoolean("Debugging", "use_gdbstub", false);
- Settings::values.gdbstub_port = sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689);
+ Settings::values.gdbstub_port = static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689));
}
void Config::Reload() {