From: Craig Citro Date: Thu, 8 Jul 2010 05:16:20 +0000 (-0700) Subject: Fix a warning coming from tests/run/cython_includes.pyx. X-Git-Tag: 0.13.beta0~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=27b5165da46ce5a41d5caa34a84f9a8e026ee9d7;p=cython.git Fix a warning coming from tests/run/cython_includes.pyx. --- diff --git a/tests/run/cython_includes.pyx b/tests/run/cython_includes.pyx index 40fdeeaa..88bf080a 100644 --- a/tests/run/cython_includes.pyx +++ b/tests/run/cython_includes.pyx @@ -10,7 +10,7 @@ def libc_cimports(): hello """ cdef char buf[10] - sprintf(buf, b'hello') + sprintf(buf, "%s", b'hello') print (buf).decode('ASCII') def cpython_cimports():