$NetBSD: patch-ae,v 1.1 2006/06/27 15:25:59 minskim Exp $ --- cgdb/src/cgdbrc.c.orig 2003-10-24 15:20:11.000000000 +0000 +++ cgdb/src/cgdbrc.c @@ -416,7 +416,7 @@ int command_parse_set( void ) } if( variable->data ) { free( variable->data ); } - (char *)variable->data = strdup( data ); + variable->data = (void *)strdup( data ); } else { rv = 1; }