summaryrefslogtreecommitdiffstats
path: root/src/report-python/reportmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/report-python/reportmodule.c')
-rw-r--r--src/report-python/reportmodule.c2
1 files changed, 1 insertions, 1 deletions
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);