Open Julien-Elie opened 9 months ago
On OpenSUSE, dbm_open() expects a char * as the file name, instead of a const char *. A warning is emitted during the build:
dbm_open()
char *
const char *
ckpasswd.c:171:25: warning: passing argument 1 of 'dbm_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
On OpenSUSE,
dbm_open()
expects achar *
as the file name, instead of aconst char *
. A warning is emitted during the build: