From 9fae8dc3d4e10a54a2d6cb2ed5c93ca53a0771c0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 13 Jun 2002 21:27:13 +0000 Subject: 2002-06-13 Roland McGrath * dir.c (diskfs_lookup_hard): Cast int to intptr_t before ino_t. --- tmpfs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpfs') diff --git a/tmpfs/dir.c b/tmpfs/dir.c index 2e554104..25b99bd8 100644 --- a/tmpfs/dir.c +++ b/tmpfs/dir.c @@ -198,7 +198,7 @@ diskfs_lookup_hard (struct node *dp, else { mutex_unlock (&dp->lock); - err = diskfs_cached_lookup ((ino_t) dddn, np); + err = diskfs_cached_lookup ((ino_t) (intptr_t) dddn, np); if (type == (LOOKUP|SPEC_DOTDOT)) diskfs_nrele (dp); -- cgit v1.2.3