[EMAIL PROTECTED] (Vincent Zweije) writes: > On Mon, May 16, 2005 at 12:06:37PM +0200, Bernd Eckenfels wrote: > > || In article <[EMAIL PROTECTED]> you wrote: > > || { > || struct x25_route_struct rt; > || struct sockaddr_x25 sx25; > || ... > || memset((char *) &rt, 0, sizeof(struct x25_route_struct)); > > memset((char *) &rt, 0, sizeof rt);
The cast is unnecessary: memset(&rt, 0, sizeof rt); -- "A computer is a state machine. Threads are for people who cant [sic] program state machines." --Alan Cox -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]