=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/indent/lexi.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/usr.bin/indent/lexi.c 2015/01/22 05:35:27 1.18 +++ src/usr.bin/indent/lexi.c 2015/08/20 22:32:41 1.19 @@ -1,4 +1,4 @@ -/* $OpenBSD: lexi.c,v 1.18 2015/01/22 05:35:27 jsg Exp $ */ +/* $OpenBSD: lexi.c,v 1.19 2015/08/20 22:32:41 deraadt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -582,7 +582,7 @@ */ nspecials = sizeof (specialsinit) / sizeof (specialsinit[0]); maxspecials = nspecials + (nspecials >> 2); - specials = (struct templ *)calloc(maxspecials, sizeof specials[0]); + specials = calloc(maxspecials, sizeof specials[0]); if (specials == NULL) err(1, NULL); memcpy(specials, specialsinit, sizeof specialsinit);