]> git.proxmox.com Git - libgit2.git/commitdiff
zlib: disable warning 4142 on MSVC
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 11 Jun 2014 16:22:46 +0000 (18:22 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 11 Jun 2014 16:33:55 +0000 (18:33 +0200)
This is about benign redefinition of types. We're not interested in it.

deps/zlib/zconf.h

index e87f145fe27fa1196605d9a4ebad63debe9669e5..229c4002482dc9da514382fae0e8bcd932d41e56 100644 (file)
@@ -14,6 +14,7 @@
  * forms, we didn't write zlib */
 #if defined(_MSC_VER)
 #      pragma warning( disable : 4131 )
+#      pragma warning( disable : 4142 ) /* benign redefinition of type */
 #endif
 
 /* Maximum value for memLevel in deflateInit2 */