about summary refs log tree commit diff
path: root/sysdeps/generic/telldir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/telldir.c')
-rw-r--r--sysdeps/generic/telldir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/telldir.c b/sysdeps/generic/telldir.c
index 3400829cb7..3a00bd836b 100644
--- a/sysdeps/generic/telldir.c
+++ b/sysdeps/generic/telldir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,18 +22,18 @@
 #include <dirent.h>
 
 /* Return the current position of DIRP.  */
-off_t
+long int
 telldir (dirp)
      DIR *dirp;
 {
   if (dirp == NULL)
     {
       __set_errno (EINVAL);
-      return -1;
+      return -1l;
     }
 
   __set_errno (ENOSYS);
-  return (off_t) -1;
+  return -1l;
 }