Correct compilation warnings for 'int' casts with correct types (#75)

This commit is contained in:
huguesdpdn
2024-09-08 17:01:10 +02:00
committed by GitHub
parent 6bf651cd31
commit 91f70382be
15 changed files with 42 additions and 37 deletions

View File

@@ -11,6 +11,12 @@
#include <cstddef>
#include <limits>
// For Windows platforms only, cstddef includes size_t but not ssize_t
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#include "MbDMath.h"
namespace MbD {