=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/bc/bc.y,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- src/usr.bin/bc/bc.y 2003/12/19 19:24:22 1.21 +++ src/usr.bin/bc/bc.y 2004/01/13 08:43:23 1.22 @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: bc.y,v 1.21 2003/12/19 19:24:22 otto Exp $ */ +/* $OpenBSD: bc.y,v 1.22 2004/01/13 08:43:23 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -31,7 +31,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: bc.y,v 1.21 2003/12/19 19:24:22 otto Exp $"; +static const char rcsid[] = "$OpenBSD: bc.y,v 1.22 2004/01/13 08:43:23 otto Exp $"; #endif /* not lint */ #include @@ -859,7 +859,7 @@ p[2] = ENCODE(num % VAR_BASE + 1); p[3] = '\0'; - entry.data = p; + entry.data = (char *)p; entry.key = strdup(str); if (entry.key == NULL) err(1, NULL);