=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/deroff/deroff.c,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11 *** src/usr.bin/deroff/deroff.c 2015/02/09 11:35:41 1.10 --- src/usr.bin/deroff/deroff.c 2015/02/09 11:39:17 1.11 *************** *** 1,4 **** ! /* $OpenBSD: deroff.c,v 1.10 2015/02/09 11:35:41 tedu Exp $ */ /*- * Copyright (c) 1988, 1993 --- 1,4 ---- ! /* $OpenBSD: deroff.c,v 1.11 2015/02/09 11:39:17 tedu Exp $ */ /*- * Copyright (c) 1988, 1993 *************** *** 431,437 **** return; } ! q = (struct chain *) malloc(sizeof(struct chain)); if (q == NULL) err(1, NULL); q->nextp = namechain; --- 431,437 ---- return; } ! q = malloc(sizeof(struct chain)); if (q == NULL) err(1, NULL); q->nextp = namechain; *************** *** 1586,1592 **** } size += sizetab(p1); size += sizetab(p2); ! back = (struct mactab *)calloc(size+2, sizeof(struct mactab)); if (back == NULL) err(1, NULL); --- 1586,1592 ---- } size += sizetab(p1); size += sizetab(p2); ! back = calloc(size+2, sizeof(struct mactab)); if (back == NULL) err(1, NULL);