Commit 5b3c7150 authored by Brice Videau's avatar Brice Videau

Fix C++ warning.

parent 0d900261
......@@ -134,7 +134,7 @@ void test() {
Py_DECREF(pFunc);
pHandle = PyObject_GetAttrString(pValue, "handle");
pAddr = PyObject_GetAttrString(pHandle, "value");
t = PyLong_AsVoidPtr(pAddr);
t = (ccs_tuner_t)PyLong_AsVoidPtr(pAddr);
err = ccs_retain_object(t);
Py_DECREF(pHandle);
Py_DECREF(pAddr);
......
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