Fix a warning coming from tests/run/cython_includes.pyx.
authorCraig Citro <craigcitro@gmail.com>
Thu, 8 Jul 2010 05:16:20 +0000 (22:16 -0700)
committerCraig Citro <craigcitro@gmail.com>
Thu, 8 Jul 2010 05:16:20 +0000 (22:16 -0700)
tests/run/cython_includes.pyx

index 40fdeeaa926c3deed7d9ea7767906094064f57bd..88bf080a05387558493745edd0e00454368c2a01 100644 (file)
@@ -10,7 +10,7 @@ def libc_cimports():
     hello
     """
     cdef char buf[10]
-    sprintf(buf, b'hello')
+    sprintf(buf, "%s", b'hello')
     print (<object>buf).decode('ASCII')
 
 def cpython_cimports():