Fixed clang warnings

This commit is contained in:
Yann Collet
2016-02-12 00:32:38 +01:00
parent 7d36028078
commit fb92a78ac1
3 changed files with 7 additions and 8 deletions
+7
View File
@@ -24,10 +24,17 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
/*- Compiler specifics -*/
#ifdef __clang__
#pragma clang diagnostic ignored "-Wshorten-64-to-32"
#endif
#if defined(_MSC_VER)
#pragma warning(disable : 4244)
#endif
/*- Dependencies -*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>