[pypy-svn] r74959 - pypy/trunk/pypy/module/cpyext/src

afa at codespeak.net afa at codespeak.net
Mon May 31 10:06:31 CEST 2010


Author: afa
Date: Mon May 31 10:06:29 2010
New Revision: 74959

Modified:
   pypy/trunk/pypy/module/cpyext/src/stringobject.c
Log:
Fix compilation: signature in .c must match the declaration


Modified: pypy/trunk/pypy/module/cpyext/src/stringobject.c
==============================================================================
--- pypy/trunk/pypy/module/cpyext/src/stringobject.c	(original)
+++ pypy/trunk/pypy/module/cpyext/src/stringobject.c	Mon May 31 10:06:29 2010
@@ -2,7 +2,7 @@
 #include "Python.h"
 
 PyObject *
-PyString_FromFormatV(char *format, va_list vargs)
+PyString_FromFormatV(const char *format, va_list vargs)
 {
 	va_list count;
 	Py_ssize_t n = 0;



More information about the Pypy-commit mailing list