Skip to content

error: reinterpret_cast from type ‘const char*’ to type ‘Bytef* {aka unsigned char*}’ casts away qualifiers #35

@AKJ7

Description

@AKJ7

The solution is to look for line with reinterpreted_cast<z_const Bytef*>(data) to reinterpreted_cast<z_const Bytef*>(&data) for example. This needs to be done twice. Once in the compress.hpp and the decompress.hpp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions