From: John Carr Date: Wed, 25 Mar 1992 14:59:57 +0000 (+0000) Subject: Fix cast of dbm_open return value X-Git-Tag: krb5-1.0-beta2~197 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cde3afe96eeb533afda546fb2d2c0ea4ade4492a;p=krb5.git Fix cast of dbm_open return value git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2265 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/kdb_dbm.c b/src/lib/kdb/kdb_dbm.c index 53d4d144b..b0ba07c2d 100644 --- a/src/lib/kdb/kdb_dbm.c +++ b/src/lib/kdb/kdb_dbm.c @@ -243,7 +243,7 @@ krb5_dbm_db_open_database() if (!inited) return KRB5_KDB_DBNOTINITED; - if (!(current_db_ptr = (krb5_pointer)dbm_open(current_db_name, O_RDWR, 0600))) + if (!(current_db_ptr = (DBM *)dbm_open(current_db_name, O_RDWR, 0600))) return errno; /* It is safe to ignore errors here because all function which write