Skip to content
Snippets Groups Projects
Commit 647d044c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Disable warnings more places.

parent 1d974c2b
No related branches found
No related tags found
No related merge requests found
Pipeline #5746 passed
...@@ -57,6 +57,10 @@ ...@@ -57,6 +57,10 @@
#include "ansi_cio.h" #include "ansi_cio.h"
#include "syncicon64.h" #include "syncicon64.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
CIOLIBEXPORT cioapi_t cio_api; CIOLIBEXPORT cioapi_t cio_api;
static const int tabs[]={1,9,17,25,33,41,49,57,65,73,81,89,97,105,113,121,129,137,145}; static const int tabs[]={1,9,17,25,33,41,49,57,65,73,81,89,97,105,113,121,129,137,145};
......
...@@ -28,6 +28,10 @@ ...@@ -28,6 +28,10 @@
#include "ciolib.h" #include "ciolib.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
#define MSEC_CLOCK() xp_timer64() #define MSEC_CLOCK() xp_timer64()
enum { enum {
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
#include "win32cio.h" #include "win32cio.h"
#include "scale.h" #include "scale.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
static HWND win; static HWND win;
static HANDLE rch; static HANDLE rch;
static HANDLE wch; static HANDLE wch;
......
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
#include <time.h> #include <time.h>
#include "sftp.h" #include "sftp.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
struct sftp_file_attributes { struct sftp_file_attributes {
uint32_t flags; uint32_t flags;
uint64_t size; uint64_t size;
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
#include "vidmodes.h" #include "vidmodes.h"
#include "window.h" #include "window.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
struct sort_order_info { struct sort_order_info {
char *name; char *name;
int flags; int flags;
......
...@@ -46,6 +46,10 @@ ...@@ -46,6 +46,10 @@
#endif #endif
#include "conn_telnet.h" #include "conn_telnet.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
struct conn_api conn_api; struct conn_api conn_api;
char *conn_types_enum[] = { char *conn_types_enum[] = {
"Unknown", "RLogin", "RLoginReversed", "Telnet", "Raw", "SSH", "SSHNA", "Modem", "Serial", "NoRTS", "Shell", "Unknown", "RLogin", "RLoginReversed", "Telnet", "Raw", "SSH", "SSHNA", "Modem", "Serial", "NoRTS", "Shell",
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
#include "xpendian.h" #include "xpendian.h"
#include "xpprintf.h" #include "xpprintf.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
SOCKET ssh_sock; SOCKET ssh_sock;
CRYPT_SESSION ssh_session; CRYPT_SESSION ssh_session;
int ssh_channel; int ssh_channel;
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
#include "term.h" #include "term.h"
#include "uifcinit.h" #include "uifcinit.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
#define TELNET_TERM_MAXLEN 40 #define TELNET_TERM_MAXLEN 40
uint telnet_cmdlen = 0; uint telnet_cmdlen = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment