projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af6d31
)
quick fix in testcase to avoid C compiler warnings
author
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 6 Feb 2009 13:39:43 +0000
(11:39 -0200)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 6 Feb 2009 13:39:43 +0000
(11:39 -0200)
tests/run/pure.pyx
patch
|
blob
|
history
diff --git
a/tests/run/pure.pyx
b/tests/run/pure.pyx
index 90a9d727b355d0be8e8878794d3e4b262070afe4..44b299613e03f728bc56f39a5b54c76f8bacae33 100644
(file)
--- 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]