summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-19 21:49:38 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-19 21:49:38 (GMT)
commit1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1 (patch)
tree425b3fa3df22e4cbb7884c00b498f1395e25bea9 /Objects/fileobject.c
parentdff3a37afdf36263d9d10daf35d8400bda0dbbb1 (diff)
downloadcpython-1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1.zip
cpython-1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1.tar.gz
cpython-1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1.tar.bz2
Kill more warnings from the SGI compiler.
Part of SF patch #434992.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index c4b10dc..18d15e1 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -473,7 +473,7 @@ static size_t
new_buffersize(PyFileObject *f, size_t currentsize)
{
#ifdef HAVE_FSTAT
- long pos, end;
+ off_t pos, end;
struct stat st;
if (fstat(fileno(f->f_fp), &st) == 0) {
end = st.st_size;