diff --git a/ChangeLog b/ChangeLog index 856c9a428..da76e25de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-06-27 Robert Larice + * src/xspice/enh/enhtrans.c: + drop useless cast of a copy() return value 2010-06-23 Holger Vogt * numparam.h: short replaced by int diff --git a/src/xspice/enh/enhtrans.c b/src/xspice/enh/enhtrans.c index 79d6b0024..4a2759625 100755 --- a/src/xspice/enh/enhtrans.c +++ b/src/xspice/enh/enhtrans.c @@ -319,8 +319,8 @@ static char *two2three_translate( printf("ERROR in two2three_translate -- Argument to poly() is not an integer\n"); printf("ERROR while parsing: %s\n", orig_card); errmsg = copy("ERROR in two2three_translate -- Argument to poly() is not an integer\n"); - *inst_card = (void *)copy(" * ERROR Argument to poly() is not an integer"); - *mod_card = (void *)copy(" * ERROR Argument to poly() is not an integer"); + *inst_card = copy(" * ERROR Argument to poly() is not an integer"); + *mod_card = copy(" * ERROR Argument to poly() is not an integer"); return errmsg; } @@ -354,8 +354,8 @@ static char *two2three_translate( printf("ERROR - Number of connections differs from poly dimension\n"); printf("ERROR while parsing: %s\n", orig_card); errmsg = copy("ERROR in two2three_translate -- Argument to poly() is not an integer\n"); - *inst_card = (void *)copy("* ERROR - Number of connections differs from poly dimension\n"); - *mod_card = (void *)copy(" * ERROR - Number of connections differs from poly dimension\n"); + *inst_card = copy("* ERROR - Number of connections differs from poly dimension\n"); + *mod_card = copy(" * ERROR - Number of connections differs from poly dimension\n"); return(errmsg); } /* Split card into name, output connections, input connections, */