mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
fix compiler warnings
This commit is contained in:
parent
6f665da016
commit
59410b9d62
3 changed files with 5 additions and 3 deletions
|
@ -798,12 +798,12 @@ namespace rpcn
|
||||||
addr_rpcn.sin_port = std::bit_cast<u16, be_t<u16>>(port); // htons
|
addr_rpcn.sin_port = std::bit_cast<u16, be_t<u16>>(port); // htons
|
||||||
addr_rpcn.sin_family = AF_INET;
|
addr_rpcn.sin_family = AF_INET;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef _MSC_VER
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#pragma warning(disable : 4996)
|
#pragma warning(disable : 4996)
|
||||||
#endif
|
#endif
|
||||||
hostent* host_addr = gethostbyname(splithost[0].c_str());
|
hostent* host_addr = gethostbyname(splithost[0].c_str());
|
||||||
#ifdef WIN32
|
#ifdef _MSC_VER
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
if (!host_addr)
|
if (!host_addr)
|
||||||
|
|
|
@ -161,7 +161,7 @@ namespace glsl
|
||||||
void insert_rop(std::ostream& OS, const shader_properties& /*props*/)
|
void insert_rop(std::ostream& OS, const shader_properties& /*props*/)
|
||||||
{
|
{
|
||||||
OS <<
|
OS <<
|
||||||
#include "GLSLSnippets//RSXProg/RSXROPEpilogue.glsl"
|
#include "GLSLSnippets/RSXProg/RSXROPEpilogue.glsl"
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "util/atomic.hpp"
|
||||||
|
#include "util/types.hpp"
|
||||||
#include <QVideoFrame>
|
#include <QVideoFrame>
|
||||||
#include <QVideoSink>
|
#include <QVideoSink>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue