]> arthur.barton.de Git - netdata.git/commitdiff
bit-limit variables seem problematic in certain gcc versions; fixes #1129
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 7 Dec 2016 20:13:51 +0000 (22:13 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 7 Dec 2016 20:13:51 +0000 (22:13 +0200)
src/web_client.h

index 2555a0c2410ea295d5a297b9e0476b029013ea56..8db1bae5237ebb1e43005646df34a2ef6cc66494 100644 (file)
@@ -34,7 +34,7 @@ struct response {
     Bytef zbuffer[ZLIB_CHUNK];      // temporary buffer for storing compressed output
     size_t zsent;                   // the compressed bytes we have sent to the client
     size_t zhave;                   // the compressed bytes that we have received from zlib
-    int zinitialized:1;
+    int zinitialized;
 #endif /* NETDATA_WITH_ZLIB */
 
 };