summaryrefslogtreecommitdiff
path: root/usr.bin/mg/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/file.c')
-rw-r--r--usr.bin/mg/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c
index a6ed24c7aac..277d9140dff 100644
--- a/usr.bin/mg/file.c
+++ b/usr.bin/mg/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.50 2005/12/20 06:17:36 kjell Exp $ */
+/* $OpenBSD: file.c,v 1.51 2006/04/03 00:40:56 deraadt Exp $ */
/* This file is in the public domain. */
@@ -381,7 +381,7 @@ doneread:
newsize = linesize * 2;
if (newsize < 0 ||
- (cp = malloc((unsigned)newsize)) == NULL) {
+ (cp = malloc(newsize)) == NULL) {
ewprintf("Could not allocate %d bytes",
newsize);
s = FIOERR;