summaryrefslogtreecommitdiff
path: root/boost/iostreams/filter/gzip.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/filter/gzip.hpp')
-rw-r--r--boost/iostreams/filter/gzip.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/iostreams/filter/gzip.hpp b/boost/iostreams/filter/gzip.hpp
index d7939c82d2..e236983e0b 100644
--- a/boost/iostreams/filter/gzip.hpp
+++ b/boost/iostreams/filter/gzip.hpp
@@ -671,7 +671,7 @@ basic_gzip_compressor<Alloc>::basic_gzip_compressor
0 );
header_.reserve(length);
header_ += gzip::magic::id1; // ID1.
- header_ += gzip::magic::id2; // ID2.
+ header_ += static_cast<char>(gzip::magic::id2); // ID2.
header_ += gzip::method::deflate; // CM.
header_ += static_cast<char>(flags); // FLG.
header_ += static_cast<char>(0xFF & p.mtime); // MTIME.