summaryrefslogtreecommitdiffstats
path: root/pyanaconda/isys/isys.c
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/isys/isys.c')
-rw-r--r--pyanaconda/isys/isys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/isys/isys.c b/pyanaconda/isys/isys.c
index 33d72ccde..4817e1782 100644
--- a/pyanaconda/isys/isys.c
+++ b/pyanaconda/isys/isys.c
@@ -656,8 +656,8 @@ static PyObject * doIsWirelessDevice(PyObject * s, PyObject * args) {
}
static PyObject * doTotalMemory(PyObject * s) {
- int tm = totalMemory();
- return PyInt_FromLong(tm);
+ unsigned long long tm = totalMemory();
+ return PyLong_FromUnsignedLongLong(tm);
}
/* vim:set shiftwidth=4 softtabstop=4: */