=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/util.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/patch/util.c 2003/07/21 14:00:41 1.13 +++ src/usr.bin/patch/util.c 2003/07/21 14:30:31 1.14 @@ -1,7 +1,7 @@ -/* $OpenBSD: util.c,v 1.13 2003/07/21 14:00:41 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.14 2003/07/21 14:30:31 deraadt Exp $ */ #ifndef lint -static char rcsid[] = "$OpenBSD: util.c,v 1.13 2003/07/21 14:00:41 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: util.c,v 1.14 2003/07/21 14:30:31 deraadt Exp $"; #endif /* not lint */ #include "EXTERN.h" @@ -166,7 +166,7 @@ t = s; while (*t++) ; - rv = malloc((MEM) (t - s)); + rv = malloc((size_t) (t - s)); if (rv == Nullch) { if (using_plan_a) out_of_mem = TRUE;