Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
htdig
> htdig-3.2.0b6-strictaliasing.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File htdig-3.2.0b6-strictaliasing.diff of Package htdig (Revision 3)
Currently displaying revision
3
,
show latest
--- htdig-3.2.0b6/db/db.c +++ htdig-3.2.0b6/db/db.c @@ -607,7 +607,7 @@ */ if (LF_ISSET(DB_THREAD)) { if ((ret = CDB___db_mutex_alloc( - dbenv, dbenv->reginfo, (MUTEX **)&dbp->mutexp)) != 0) + dbenv, dbenv->reginfo, &dbp->mutexp)) != 0) return (ret); if ((ret = __db_mutex_init( dbenv, dbp->mutexp, 0, MUTEX_THREAD)) != 0) --- htdig-3.2.0b6/db/hash_meta.c +++ htdig-3.2.0b6/db/hash_meta.c @@ -51,7 +51,7 @@ } if ((ret = CDB___ham_get_page(dbc->dbp, - hashp->meta_pgno, (PAGE **)&(hcp->hdr))) != 0 && + hashp->meta_pgno, &(hcp->hdr))) != 0 && hcp->hlock.off != LOCK_INVALID) { (void)CDB_lock_put(dbc->dbp->dbenv, &hcp->hlock); hcp->hlock.off = LOCK_INVALID;