Add some fixes to lzma2 header files

- remove disabling of MSVC C4389 warning
- update mem.h from current zstd code
This commit is contained in:
Tino Reichardt
2018-11-07 12:42:56 +01:00
parent 5cf16c9dba
commit cb96f7e6f8
2 changed files with 20 additions and 6 deletions

View File

@@ -102,7 +102,6 @@ extern "C" {
#elif defined(_MSC_VER)
# define UTIL_STATIC static __inline
# pragma warning(disable : 4996) /* disable: C4996: 'strncpy': This function or variable may be unsafe. */
# pragma warning(disable : 4389) /* disable: C4389: '==' : signed/unsigned mismatch */
#else
# define UTIL_STATIC static /* this version may generate warnings for unused static functions; disable the relevant warning */
#endif