diff --git a/src/citra_qt/util/graphics_device_info.cpp b/src/citra_qt/util/graphics_device_info.cpp index 3b1cac925..8653ba8bd 100644 --- a/src/citra_qt/util/graphics_device_info.cpp +++ b/src/citra_qt/util/graphics_device_info.cpp @@ -22,7 +22,8 @@ QString GetOpenGLRenderer() { QOpenGLContext context; if (context.create()) { context.makeCurrent(&surface); - return QString::fromUtf8(reinterpret_cast(context.functions()->glGetString(GL_RENDERER))); + return QString::fromUtf8( + reinterpret_cast(context.functions()->glGetString(GL_RENDERER))); } else { return QStringLiteral(""); } diff --git a/src/core/hle/service/soc/soc_u.cpp b/src/core/hle/service/soc/soc_u.cpp index 12bc0e401..ae2ecfcb2 100644 --- a/src/core/hle/service/soc/soc_u.cpp +++ b/src/core/hle/service/soc/soc_u.cpp @@ -2251,7 +2251,7 @@ std::optional SOC_U::GetDefaultInterfaceInfo() { socklen_t s_info_len = sizeof(struct sockaddr_in); sockaddr_in s_info; - if (static_cast(sock_fd = ::socket(AF_INET, SOCK_STREAM, 0)) == -1) { + if (static_cast(sock_fd = ::socket(AF_INET, SOCK_STREAM, 0)) == -1) { return std::nullopt; }