Commit c5485fa4 authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

(value_from_python): s/gnum_int/int/

parent 7620b7cf
2002-10-11 Jon K Hellan <hellan@acm.org>
* python.c (value_from_python): s/gnum_int/int/
2002-09-30 Jody Goldberg <jody@gnome.org>
* Release 1.1.9
......
......@@ -571,7 +571,7 @@ value_from_python (PyObject *o, EvalPos const *pos)
if (o == Py_None) {
v = value_new_empty ();
} else if (PyInt_Check (o)){
v = value_new_int ((gnum_int) PyInt_AsLong (o));
v = value_new_int ((int) PyInt_AsLong (o));
} else if (PyFloat_Check (o)) {
v = value_new_float ((gnum_float) PyFloat_AsDouble (o));
} else if (PyString_Check (o)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment