Skip to content

Recognize the dbm_open signature without const for a parameter on OpenSUSE #299

@Julien-Elie

Description

@Julien-Elie

On OpenSUSE, dbm_open() expects a char * as the file name, instead of a const char *.
A warning is emitted during the build:

ckpasswd.c:171:25: warning: passing argument 1 of 'dbm_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: buildRelated to the build systemP: lowLow prioritybugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions