summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-21 14:30:31 +0000
committerderaadt <deraadt@openbsd.org>2003-07-21 14:30:31 +0000
commit1422fa04b6564ae060dcb7357235dfa9db93b9a9 (patch)
tree163cb68ab3a16c7d00b4ecfb7ad8e827ec017a3a /usr.bin/patch/util.c
parentknf (diff)
downloadwireguard-openbsd-1422fa04b6564ae060dcb7357235dfa9db93b9a9.tar.xz
wireguard-openbsd-1422fa04b6564ae060dcb7357235dfa9db93b9a9.zip
remove a bit more junk
Diffstat (limited to 'usr.bin/patch/util.c')
-rw-r--r--usr.bin/patch/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c
index 7074bf3c5d3..e026e9de342 100644
--- a/usr.bin/patch/util.c
+++ b/usr.bin/patch/util.c
@@ -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 @@ savestr(char *s)
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;