From 662e58836b689bbe5121f5e5f8ae0f3a4df065c9 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Tue, 7 Apr 2009 18:22:36 -0300 Subject: [PATCH] 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. --- tests/compile/typecast.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compile/typecast.pyx b/tests/compile/typecast.pyx index c9db7444..f56a9be8 100644 --- a/tests/compile/typecast.pyx +++ b/tests/compile/typecast.pyx @@ -1,5 +1,5 @@ cdef void f(obj): - cdef int i=0 + cdef size_t i=0 cdef char *p p = i p = &i -- 2.26.2