=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/echo.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- src/usr.bin/mg/echo.c 2006/03/28 20:16:24 1.44 +++ src/usr.bin/mg/echo.c 2006/03/30 18:32:07 1.45 @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.44 2006/03/28 20:16:24 kjell Exp $ */ +/* $OpenBSD: echo.c,v 1.45 2006/03/30 18:32:07 kjell Exp $ */ /* This file is in the public domain. */ @@ -937,7 +937,7 @@ last = NULL; while (lp) { - current = (struct list *)malloc(sizeof(struct list)); + current = malloc(sizeof(struct list)); if (current == NULL) { /* Free what we have allocated so far */ for (current = last; current; current = nxt) {