1
0
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:
oltolm 2024-01-23 00:19:16 +01:00 committed by Megamouse
parent 6f665da016
commit 59410b9d62
3 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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"
;
}

View File

@ -1,5 +1,7 @@
#pragma once
#include "util/atomic.hpp"
#include "util/types.hpp"
#include <QVideoFrame>
#include <QVideoSink>
#include <QImage>