Commit 1eb30ce4 authored by Michael Droettboom's avatar Michael Droettboom

LINT

parent e0b37f4b
......@@ -135,7 +135,7 @@ _python2js(PyObject* x, PyObject* map)
// when the Python int gets too large. This will lose precision,
// but is less problematic than truncation.
if ((unsigned long)x_long > 0x7fffffff) {
PyObject *py_float = PyNumber_Float(x);
PyObject* py_float = PyNumber_Float(x);
if (py_float == NULL) {
return HW_ERROR;
}
......
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