Disable warnings
This commit is contained in:
2
3rd-party/ttmath-0.9.3/ttmath/ttmathuint.h
vendored
2
3rd-party/ttmath-0.9.3/ttmath/ttmathuint.h
vendored
@@ -3310,7 +3310,7 @@ public:
|
||||
if( negative )
|
||||
result = '-';
|
||||
|
||||
digits_d = table_id; // for not making an overflow in uint type
|
||||
digits_d = static_cast<double>(table_id); // for not making an overflow in uint type
|
||||
digits_d *= TTMATH_BITS_PER_UINT;
|
||||
digits_d += index + 1;
|
||||
digits_d *= ToStringLog2(b);
|
||||
|
@@ -32,7 +32,7 @@ void CSiaDriveConfig::Load( )
|
||||
std::string s;
|
||||
s.resize(f.GetLength());
|
||||
|
||||
f.Read(&s[0], s.length());
|
||||
f.Read(&s[0], static_cast<UINT>(s.length()));
|
||||
|
||||
f.Close();
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "SiaDokanDrive.h"
|
||||
#include <dokan\dokan.h>
|
||||
#include <filesystem>
|
||||
|
||||
using namespace Sia::Api;
|
||||
@@ -139,7 +138,7 @@ private:
|
||||
}
|
||||
else
|
||||
{
|
||||
bool isFile = (FileAttributes & FILE_NON_DIRECTORY_FILE);
|
||||
bool isFile = (FileAttributes & FILE_NON_DIRECTORY_FILE) ? true : false;
|
||||
DokanFileInfo->IsDirectory = !isFile;
|
||||
if (isFile)
|
||||
{
|
||||
|
@@ -10,7 +10,6 @@
|
||||
#include "targetver.h"
|
||||
|
||||
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
|
||||
@@ -20,6 +19,7 @@
|
||||
#include <afxdisp.h> // MFC Automation classes
|
||||
#endif // _AFX_NO_OLE_SUPPORT
|
||||
|
||||
|
||||
#ifndef _AFX_NO_DB_SUPPORT
|
||||
#include <afxdb.h> // MFC ODBC database classes
|
||||
#endif // _AFX_NO_DB_SUPPORT
|
||||
@@ -37,3 +37,9 @@
|
||||
|
||||
#include <afxsock.h> // MFC socket extensions
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4005)
|
||||
#include <dokan\dokan.h>
|
||||
#pragma warning(pop)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user