was found is in the topmost tree; so compare > 0 rather than != 0.
cast RBTDB_RDATATYPE_{BASE,EXT}() to dns_rdatatype_t to shut up NT's CL.
The value of each is already suitably bit masked to dns_rdatatype_t size.
#undef IGNORE before making a new definition; CL's winbase.h defines it.
2nd parameter of allocate_version changed from "unsigned int serial" to
"rbtdb_serial_t serial" to have proper sizing when compiled as rbtdb64.c.
cast header->type in two function calls to dns_rdatatype_t.