From: Lisandro Dalcin Date: Fri, 6 Feb 2009 13:39:43 +0000 (-0200) Subject: quick fix in testcase to avoid C compiler warnings X-Git-Tag: 0.11.rc~93^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7abeaf17de3f9ea46506c4264da317d4179566e2;p=cython.git quick fix in testcase to avoid C compiler warnings --- diff --git a/tests/run/pure.pyx b/tests/run/pure.pyx index 90a9d727..44b29961 100644 --- a/tests/run/pure.pyx +++ b/tests/run/pure.pyx @@ -53,7 +53,7 @@ def test_declare(n): y = cython.declare(cython.int, n) if cython.compiled: cython.declare(xx=cython.int, yy=cython.long) - sizeof(xx) + i = sizeof(xx) ptr = cython.declare(cython.p_int, cython.address(y)) return y, ptr[0]