From cde3afe96eeb533afda546fb2d2c0ea4ade4492a Mon Sep 17 00:00:00 2001 From: John Carr Date: Wed, 25 Mar 1992 14:59:57 +0000 Subject: [PATCH] Fix cast of dbm_open return value git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2265 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/kdb_dbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2