From: Matthew Fernandez Date: Sun, 20 Feb 2022 23:34:42 +0000 (-0800) Subject: cdt: [nfc] remove an unnecessary cast of an argument to '_DTKEY' X-Git-Tag: 3.0.0~9^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77a5541436a7dacf37b673b9e8ae08f176918b12;p=graphviz cdt: [nfc] remove an unnecessary cast of an argument to '_DTKEY' --- diff --git a/lib/cdt/dtdisc.c b/lib/cdt/dtdisc.c index 28fdccea2..12f340baf 100644 --- a/lib/cdt/dtdisc.c +++ b/lib/cdt/dtdisc.c @@ -83,7 +83,7 @@ Dtdisc_t* dtdisc(Dt_t* dt, Dtdisc_t* disc, int type) { t = r->right; if(!(type&DT_SAMEHASH)) /* new hash value */ { k = _DTOBJ(r,disc->link); - k = _DTKEY((void*)k,disc->key,disc->size); + k = _DTKEY(k, disc->key, disc->size); r->hash = _DTHSH(dt,k,disc,disc->size); } (void)(*searchf)(dt, r, DT_RENEW);