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 @@
#include "ansi_cio.h"
#include "syncicon64.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
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};
......
......@@ -28,6 +28,10 @@
#include "ciolib.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
#define MSEC_CLOCK() xp_timer64()
enum {
......
......@@ -15,6 +15,10 @@
#include "win32cio.h"
#include "scale.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
static HWND win;
static HANDLE rch;
static HANDLE wch;
......
......@@ -5,6 +5,10 @@
#include <time.h>
#include "sftp.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
struct sftp_file_attributes {
uint32_t flags;
uint64_t size;
......
......@@ -22,6 +22,10 @@
#include "vidmodes.h"
#include "window.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
struct sort_order_info {
char *name;
int flags;
......
......@@ -46,6 +46,10 @@
#endif
#include "conn_telnet.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
struct conn_api conn_api;
char *conn_types_enum[] = {
"Unknown", "RLogin", "RLoginReversed", "Telnet", "Raw", "SSH", "SSHNA", "Modem", "Serial", "NoRTS", "Shell",
......
......@@ -22,6 +22,10 @@
#include "xpendian.h"
#include "xpprintf.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
SOCKET ssh_sock;
CRYPT_SESSION ssh_session;
int ssh_channel;
......
......@@ -18,6 +18,10 @@
#include "term.h"
#include "uifcinit.h"
#ifdef _MSC_VER
#pragma warning(disable : 4244 4267 4018)
#endif
#define TELNET_TERM_MAXLEN 40
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