Backed out changeset 61bada808b34

This commit is contained in:
Brian Curtin 2013-01-01 12:31:06 -06:00
parent e3d0b65118
commit 9cc4321bf5
1 changed files with 1 additions and 2 deletions

View File

@ -1955,8 +1955,7 @@ _pystat_fromstructstat(STRUCT_STAT *st)
PyStructSequence_SET_ITEM(v, 2, PyStructSequence_SET_ITEM(v, 2,
PyLong_FromLongLong((PY_LONG_LONG)st->st_dev)); PyLong_FromLongLong((PY_LONG_LONG)st->st_dev));
#else #else
PyStructSequence_SET_ITEM(v, 2, PyStructSequence_SET_ITEM(v, 2, PyLong_FromLong((long)st->st_dev));
PyLong_FromUnsignedLong(st->st_dev));
#endif #endif
PyStructSequence_SET_ITEM(v, 3, PyLong_FromLong((long)st->st_nlink)); PyStructSequence_SET_ITEM(v, 3, PyLong_FromLong((long)st->st_nlink));
PyStructSequence_SET_ITEM(v, 4, PyLong_FromLong((long)st->st_uid)); PyStructSequence_SET_ITEM(v, 4, PyLong_FromLong((long)st->st_uid));