summaryrefslogtreecommitdiffstats
path: root/lz4hc.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-11-30 11:58:00 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-11-30 11:58:00 (GMT)
commitd0a6cccf75e147301b430a43bc9e591fdd80fce9 (patch)
treee478b0dde6dc6f5d301078b6051c0c87e05a4046 /lz4hc.c
parent326cada9fadeedccef8934e11144f343ecdcabcb (diff)
downloadlz4-d0a6cccf75e147301b430a43bc9e591fdd80fce9.zip
lz4-d0a6cccf75e147301b430a43bc9e591fdd80fce9.tar.gz
lz4-d0a6cccf75e147301b430a43bc9e591fdd80fce9.tar.bz2
Fixed : some minor Visual warnings
Diffstat (limited to 'lz4hc.c')
-rw-r--r--lz4hc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lz4hc.c b/lz4hc.c
index a798cab..89f0db0 100644
--- a/lz4hc.c
+++ b/lz4hc.c
@@ -57,6 +57,10 @@ You can contact the author at :
# pragma clang diagnostic ignored "-Wunused-function"
#endif
+#if defined(_MSC_VER) /* Visual Studio */
+# pragma warning(disable : 4201) /* disable: C4201: unnamed struct/union*/
+#endif
+
/**************************************
Common LZ4 definition