Commit 7abeaf17 authored by Lisandro Dalcin's avatar Lisandro Dalcin

quick fix in testcase to avoid C compiler warnings

parent 5af6d31a
...@@ -53,7 +53,7 @@ def test_declare(n): ...@@ -53,7 +53,7 @@ def test_declare(n):
y = cython.declare(cython.int, n) y = cython.declare(cython.int, n)
if cython.compiled: if cython.compiled:
cython.declare(xx=cython.int, yy=cython.long) cython.declare(xx=cython.int, yy=cython.long)
sizeof(xx) i = sizeof(xx)
ptr = cython.declare(cython.p_int, cython.address(y)) ptr = cython.declare(cython.p_int, cython.address(y))
return y, ptr[0] return y, ptr[0]
......
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