liblzma: Suppress MSVC warning parameter difference warning

Some `.c` sources add `restrict` to their pointer types to tell
the optimizer that there is no aliasing.  These do not appear in
the corresponding `.h` declarations so MSVC warns.
This commit is contained in:
Brad King 2018-08-06 10:29:33 -04:00
parent 9f77124ea8
commit 2461dd79e5

View File

@ -18,6 +18,7 @@
#if defined(_MSC_VER)
# pragma warning(push,1)
# pragma warning(disable: 4028) /* formal parameter different from decl */
# pragma warning(disable: 4142) /* benign redefinition of type */
# pragma warning(disable: 4761) /* integral size mismatch in argument */
#endif