From d34facc09effe7c18baf8f66c7237f7b4a876696 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 30 Jul 2014 17:03:34 +0200 Subject: cython: Replace old Pyrex for-from loop with normal one to fix compiler warning --- cython/plist.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cython/plist.pyx b/cython/plist.pyx index 8ca668f..a78e74c 100644 --- a/cython/plist.pyx +++ b/cython/plist.pyx @@ -716,7 +716,7 @@ cdef class Array(Node): cdef uint32_t size = plist_array_get_size(self._c_node) cdef plist_t subnode = NULL - for i from 0 <= i < size: + for i in range(size): subnode = plist_array_get_item(self._c_node, i) self._array.append(plist_t_to_node(subnode, False)) -- cgit v1.1-32-gdbae