X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fftell.c;h=74ec986e27b1cede87d41db35db54591b3c0135b;hb=cea318a913148d825c03a4e45f4553e4cb4e2880;hp=babba353ba8208f5f77f5a01f536b55b7c947a29;hpb=a9418e02e6cb59bfa004896c661d949f8b705209;p=gnulib.git diff --git a/lib/ftell.c b/lib/ftell.c index babba353b..74ec986e2 100644 --- a/lib/ftell.c +++ b/lib/ftell.c @@ -21,8 +21,6 @@ #include #include -/* Get off_t. */ -#include long ftell (FILE *fp) @@ -30,7 +28,7 @@ ftell (FILE *fp) /* Use the replacement ftello function with all its workarounds. */ off_t offset = ftello (fp); if (LONG_MIN <= offset && offset <= LONG_MAX) - return (long)offset; + return /* (long) */ offset; else { errno = EOVERFLOW;