>> REQUIRE(( >> - (T*) >> source) != NULL); > > Thanks, that’s helpful.
Thanks for such a view on the suggested transformation approach. >>> REQUIRE(( >>> - (T *) >>> + (dns_rdatacommon_t *) >> >> ( >> -T >> +dns_rdatacommon_t >> *) > > This cannot be done, I propose to take another look at how many adjustments such a type cast will need actually. Will the replacement of the data type be sufficient at this place of SmPL code? > as I need to convert only .common members, … This concern can be added to the referenced change pattern. Regards, Markus _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci