projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d606c5
)
Fix cast of dbm_open return value
author
John Carr
<jfc@mit.edu>
Wed, 25 Mar 1992 14:59:57 +0000
(14:59 +0000)
committer
John Carr
<jfc@mit.edu>
Wed, 25 Mar 1992 14:59:57 +0000
(14:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2265
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kdb/kdb_dbm.c
patch
|
blob
|
history
diff --git
a/src/lib/kdb/kdb_dbm.c
b/src/lib/kdb/kdb_dbm.c
index 53d4d144b2f457ad60607c91e28723dbef9b1c9a..b0ba07c2dc944d044512b1fde82f444967dba222 100644
(file)
--- 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