=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/help.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/mg/help.c 2001/11/25 07:34:17 1.15 +++ src/usr.bin/mg/help.c 2002/03/11 13:02:56 1.16 @@ -1,4 +1,4 @@ -/* $OpenBSD: help.c,v 1.15 2001/11/25 07:34:17 deraadt Exp $ */ +/* $OpenBSD: help.c,v 1.16 2002/03/11 13:02:56 vincent Exp $ */ /* * Help functions for Mg 2 @@ -83,7 +83,7 @@ found: if (funct == rescan || funct == selfinsert) ewprintf("%k is not bound to any function"); - else if ((pep = function_name(funct)) != NULL) + else if ((pep = (char *)function_name(funct)) != NULL) ewprintf("%k runs the command %s", pep); else ewprintf("%k is bound to an unnamed function");