From 37c25b9da2367267a94a233739ce3efcafdc0c0e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 8 Jan 2000 19:07:14 +0000 Subject: Silence gcc -Wall on alpha in enomem() printf via cast to u_long. --- usr.bin/make/error.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/make') diff --git a/usr.bin/make/error.c b/usr.bin/make/error.c index 4df20418740..5045eaa2837 100644 --- a/usr.bin/make/error.c +++ b/usr.bin/make/error.c @@ -1,4 +1,4 @@ -/* $OpenBSD: error.c,v 1.1 1999/12/09 18:20:06 espie Exp $ */ +/* $OpenBSD: error.c,v 1.2 2000/01/08 19:07:13 millert Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -118,7 +118,7 @@ enomem(size) { int myerr = errno; - fprintf(stderr, "make: %s (%d)\n", strerror(myerr), size); + fprintf(stderr, "make: %s (%lu)\n", strerror(myerr), (u_long)size); exit(2); } @@ -141,4 +141,3 @@ eunlink(file) } return unlink(file); } - -- cgit v1.2.3