mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
fix compiler warnings
This commit is contained in:
parent
6f665da016
commit
59410b9d62
@ -798,12 +798,12 @@ namespace rpcn
|
||||
addr_rpcn.sin_port = std::bit_cast<u16, be_t<u16>>(port); // htons
|
||||
addr_rpcn.sin_family = AF_INET;
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4996)
|
||||
#endif
|
||||
hostent* host_addr = gethostbyname(splithost[0].c_str());
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
if (!host_addr)
|
||||
|
@ -161,7 +161,7 @@ namespace glsl
|
||||
void insert_rop(std::ostream& OS, const shader_properties& /*props*/)
|
||||
{
|
||||
OS <<
|
||||
#include "GLSLSnippets//RSXProg/RSXROPEpilogue.glsl"
|
||||
#include "GLSLSnippets/RSXProg/RSXROPEpilogue.glsl"
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "util/atomic.hpp"
|
||||
#include "util/types.hpp"
|
||||
#include <QVideoFrame>
|
||||
#include <QVideoSink>
|
||||
#include <QImage>
|
||||
|
Loading…
Reference in New Issue
Block a user