projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2422b
)
fix typecast testcase, int and pointer have different sizes in 64 bits
author
Lisandro Dalcin
<dalcinl@gmail.com>
Wed, 11 Mar 2009 13:36:55 +0000
(11:36 -0200)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Wed, 11 Mar 2009 13:36:55 +0000
(11:36 -0200)
tests/compile/typecast.pyx
patch
|
blob
|
history
diff --git
a/tests/compile/typecast.pyx
b/tests/compile/typecast.pyx
index 93c1d2c6444af7e754a23673789b311cfb1a36aa..9551afb765ed829abc57000006efddeb4a2881b0 100644
(file)
--- a/
tests/compile/typecast.pyx
+++ b/
tests/compile/typecast.pyx
@@
-1,7
+1,7
@@
cdef void f(obj):
cdef int i=0
cdef char *p
- p = <char *>i
+ p = <char *>
&
i
obj = <object>p
p = <char *>obj