diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-13 21:27:13 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-13 21:27:13 +0000 |
commit | 9fae8dc3d4e10a54a2d6cb2ed5c93ca53a0771c0 (patch) | |
tree | da08961f393b314a4050869d550c9dfe4423a0ad | |
parent | 2a5d68d068a6e17e538dc12b591b20368a14bb35 (diff) |
2002-06-13 Roland McGrath <roland@frob.com>
* dir.c (diskfs_lookup_hard): Cast int to intptr_t before ino_t.
-rw-r--r-- | tmpfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |