is this cast valid?
Heath Kehoe
heath.kehoe at intermec.com
Tue Nov 14 17:22:36 UTC 2000
In current: innd/art.c, line 1211:
if (innconf->logipaddr) {
hops = ARTparsepath(HDR(_path), &hopcount);
--> (const char *)av[4] = hops && hops[0] ? hops[0] : CHANname(cp);
} else {
--> (const char *)av[4] = Data->Feedsite;
}
What's the deal with those casts on the lvalue? Is that legal? The
HP compiler says it's an error. It will compile if I remove the casts.
-heath
More information about the inn-workers
mailing list