summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-10-26 04:12:02 +0000
committerpeter <peter@FreeBSD.org>2003-10-26 04:12:02 +0000
commitbfcf5b3a911aa423f6c2aedc78468fe1a970a857 (patch)
tree99160d68a7c4739401bbe99cbcc218c8daf95be6 /gnu
parentb84f0fd155e49705a484772173cc8ccacb79032a (diff)
downloadFreeBSD-src-bfcf5b3a911aa423f6c2aedc78468fe1a970a857.zip
FreeBSD-src-bfcf5b3a911aa423f6c2aedc78468fe1a970a857.tar.gz
Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/man/man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c
index 9ce1703..f34851a 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;
OpenPOWER on IntegriCloud