diff options
Diffstat (limited to 'src/libflate')
| -rw-r--r-- | src/libflate/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index 2ce52cdec25..58531830043 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -73,9 +73,9 @@ extern { -> *mut c_void; } -static LZ_NORM : c_int = 0x80; // LZ with 128 probes, "normal" -static TINFL_FLAG_PARSE_ZLIB_HEADER : c_int = 0x1; // parse zlib header and adler32 checksum -static TDEFL_WRITE_ZLIB_HEADER : c_int = 0x01000; // write zlib header and adler32 checksum +const LZ_NORM: c_int = 0x80; // LZ with 128 probes, "normal" +const TINFL_FLAG_PARSE_ZLIB_HEADER: c_int = 0x1; // parse zlib header and adler32 checksum +const TDEFL_WRITE_ZLIB_HEADER: c_int = 0x01000; // write zlib header and adler32 checksum fn deflate_bytes_internal(bytes: &[u8], flags: c_int) -> Option<Bytes> { unsafe { |
