about summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2009-03-17 00:40:24 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2009-03-17 00:40:24 -0400
commit0ea2275add5f7599cc9e28a9ea1f5755cbff07fe (patch)
tree1a42970d325cf731fca7339d79dcdab6048f9371 /lib
parent089dd372933a775165f70ae0b32713eb3aebee98 (diff)
downloadlynx-snapshots-0ea2275add5f7599cc9e28a9ea1f5755cbff07fe.tar.gz
snapshot of project "lynx", label v2-8-7dev_13c
Diffstat (limited to 'lib')
-rw-r--r--lib/dirent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dirent.c b/lib/dirent.c
index 3a92a6b1..3a19cfe5 100644
--- a/lib/dirent.c
+++ b/lib/dirent.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: dirent.c,v 1.2 2007/06/29 23:03:08 tom Exp $
+ * $LynxId: dirent.c,v 1.3 2009/03/11 00:31:33 tom Exp $
  *
  * dir.c for MS-DOS by Samuel Lam <skl@van-bc.UUCP>, June/87 
  */
@@ -199,7 +199,7 @@ struct dirent *readdir(DIR * dirp)
     dp.d_namlen = dp.d_reclen =
 	strlen(dp.d_name);
 
-    dp.d_ino = dirp->dd_loc + 1;	/* fake the inode */
+    dp.d_ino = (ino_t) (dirp->dd_loc + 1);	/* fake the inode */
 
     dirp->dd_cp = dirp->dd_cp->_d_next;
     dirp->dd_loc++;