From: Paul Eggert Date: Mon, 25 Jul 2011 16:21:22 +0000 (-0700) Subject: * lib/ftell.c (ftell): Comment out cast. X-Git-Tag: v0.1~2065 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=f0e396a8e31e3a489a8ed8eafb4581ff168a0392;p=gnulib.git * lib/ftell.c (ftell): Comment out cast. --- diff --git a/ChangeLog b/ChangeLog index b8da59a43..f999c0455 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-07-25 Paul Eggert + * lib/ftell.c (ftell): Comment out cast. + close: use gl_REPLACE_FCLOSE only if defined * m4/close.m4 (gl_REPLACE_CLOSE): Use gl_REPLACE_FCLOSE only if it is defined. The close module doesn't depend on the fclose module diff --git a/lib/ftell.c b/lib/ftell.c index ebf0bb7b5..74ec986e2 100644 --- a/lib/ftell.c +++ b/lib/ftell.c @@ -28,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;