# HG changeset patch # User Paul Eggert # Date 1311610882 25200 # Node ID f8d00d05e87971dbc5f2dd591600403e66c84e70 # Parent ec2cc408342a3c370a87bf2d53365ccf6e2798cb * lib/ftell.c (ftell): Comment out cast. diff --git a/ChangeLog b/ChangeLog --- 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 --- a/lib/ftell.c +++ b/lib/ftell.c @@ -28,7 +28,7 @@ /* 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;