Explorar o código

Merge pull request #2509 from jfmherokiller/settingscastpatch

removed the possibly uneeded cast on values.gdbstub_port
bunnei %!s(int64=9) %!d(string=hai) anos
pai
achega
632562f5cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/settings.cpp

+ 1 - 1
src/core/settings.cpp

@@ -15,7 +15,7 @@ Values values = {};
 
 void Apply() {
 
-    GDBStub::SetServerPort(static_cast<u32>(values.gdbstub_port));
+    GDBStub::SetServerPort(values.gdbstub_port);
     GDBStub::ToggleServer(values.use_gdbstub);
 
     VideoCore::g_hw_renderer_enabled = values.use_hw_renderer;