From 59a2e5b3fadce55076e39178e7524c3e08119f2d Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 26 Oct 2003 04:12:02 +0000 Subject: [PATCH] Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning. --- gnu/usr.bin/man/man/man.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index 9ce170368a1e..f34851a2345a 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -539,7 +539,7 @@ is_section (name, path) x = 0; vs = glob_filename (temp); - if ((int)vs == -1) + if ((intptr_t)vs == -1) { free (temp); return NULL;