]> granicus.if.org Git - graphviz/commitdiff
mkIntItem: [nfc] remove unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 24 Dec 2021 16:33:44 +0000 (08:33 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Dec 2021 19:40:23 +0000 (11:40 -0800)
lib/common/intset.c

index afdd6731d80266cd2c0c23a7a3d632f4df8faa9e..12e00f30266a74cd1bb4a4335fc81cf5333e7d1f 100644 (file)
@@ -22,7 +22,7 @@ mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
 
     intitem* np = NEW(intitem);
     np->id = obj->id;
-    return (void*)np;
+    return np;
 }
 
 static void