diff pytouhou/utils/lzss.pyx @ 540:53fa73932e9a

Fix warnings introduced in Cython 0.20, when more than one pointer is defined on the same line.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 10 May 2014 22:20:22 +0200
parents 1b532e7dd521
children
line wrap: on
line diff
--- a/pytouhou/utils/lzss.pyx
+++ b/pytouhou/utils/lzss.pyx
@@ -28,7 +28,8 @@ cpdef bytes decompress(BitStream bitstre
     cdef Py_ssize_t ptr, length
     cdef unsigned int dictionary_head
     cdef unsigned char byte
-    cdef char *out_data, *dictionary
+    cdef char *out_data
+    cdef char *dictionary
 
     out_data = <char*> malloc(size)
     dictionary = <char*> calloc(dictionary_size, 1)