1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fixing warnings generated by MSVC

Fixes #22684.
This commit is contained in:
Dualtagh Murray
2018-10-04 14:38:52 +01:00
committed by Rémi Verschelde
parent a3072aa35e
commit b902a2f2a7
27 changed files with 84 additions and 75 deletions

View File

@@ -34,6 +34,10 @@
#include "core/io/stream_peer_ssl.h"
#include "tls/mbedtls/wrapper/include/openssl/ssl.h"
#if defined(MINGW_ENABLED) || defined(_MSC_VER)
#define strncpy strncpy_s
#endif
Error LWSClient::connect_to_host(String p_host, String p_path, uint16_t p_port, bool p_ssl, PoolVector<String> p_protocols) {
ERR_FAIL_COND_V(context != NULL, FAILED);