From 93b9b18b5096c7591c02036e1c908f3bcbb09f29 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 9 Mar 2011 14:12:09 +0100 Subject: add -Wwrite-strings everywhere Signed-off-by: Denys Vlasenko --- src/report-python/reportmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/report-python/reportmodule.c') diff --git a/src/report-python/reportmodule.c b/src/report-python/reportmodule.c index 41f0ba29..a684984e 100644 --- a/src/report-python/reportmodule.c +++ b/src/report-python/reportmodule.c @@ -61,7 +61,7 @@ init_pyreport(void) } /* init the exception object */ - ReportError = PyErr_NewException("_pyreport.error", NULL, NULL); + ReportError = PyErr_NewException((char*) "_pyreport.error", NULL, NULL); Py_INCREF(ReportError); PyModule_AddObject(m, "error", ReportError); -- cgit