Commit 27b5165d authored by Craig Citro's avatar Craig Citro

Fix a warning coming from tests/run/cython_includes.pyx.

parent 5b086260
...@@ -10,7 +10,7 @@ def libc_cimports(): ...@@ -10,7 +10,7 @@ def libc_cimports():
hello hello
""" """
cdef char buf[10] cdef char buf[10]
sprintf(buf, b'hello') sprintf(buf, "%s", b'hello')
print (<object>buf).decode('ASCII') print (<object>buf).decode('ASCII')
def cpython_cimports(): def cpython_cimports():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment