Commit 662e5883 authored by Lisandro Dalcin's avatar Lisandro Dalcin

use a "size_t" integral for casting to "char*" pointer in typecast testcase

This silents GCC warnings (in 64 bits) about casting integer to pointer of different size.
parent 60436398
cdef void f(obj): cdef void f(obj):
cdef int i=0 cdef size_t i=0
cdef char *p cdef char *p
p = <char *>i p = <char *>i
p = <char *>&i p = <char *>&i
......
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