[Python-checkins] cpython: Backed out changeset 61bada808b34
brian.curtin
python-checkins at python.org
Tue Jan 1 19:31:56 CET 2013
http://hg.python.org/cpython/rev/8fac1a749a1b
changeset: 81196:8fac1a749a1b
user: Brian Curtin <brian at python.org>
date: Tue Jan 01 12:31:06 2013 -0600
summary:
Backed out changeset 61bada808b34
files:
Modules/posixmodule.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1955,8 +1955,7 @@
PyStructSequence_SET_ITEM(v, 2,
PyLong_FromLongLong((PY_LONG_LONG)st->st_dev));
#else
- PyStructSequence_SET_ITEM(v, 2,
- PyLong_FromUnsignedLong(st->st_dev));
+ PyStructSequence_SET_ITEM(v, 2, PyLong_FromLong((long)st->st_dev));
#endif
PyStructSequence_SET_ITEM(v, 3, PyLong_FromLong((long)st->st_nlink));
PyStructSequence_SET_ITEM(v, 4, PyLong_FromLong((long)st->st_uid));
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list