From 27b5165da46ce5a41d5caa34a84f9a8e026ee9d7 Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Wed, 7 Jul 2010 22:16:20 -0700 Subject: [PATCH] Fix a warning coming from tests/run/cython_includes.pyx. --- tests/run/cython_includes.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- 2.26.2