Use the MPD() accessor macro.

This commit is contained in:
Stefan Krah 2012-04-09 19:20:46 +02:00
parent b547d395ab
commit 94ef3e4c1d

View file

@ -3745,9 +3745,9 @@ nm_dec_as_long(PyObject *dec)
} }
static int static int
nm_nonzero(PyDecObject *v) nm_nonzero(PyObject *v)
{ {
return !mpd_iszero(v->dec); return !mpd_iszero(MPD(v));
} }
static PyObject * static PyObject *