Kaydet (Commit) 23f391c6 authored tarafından Hye-Shik Chang's avatar Hye-Shik Chang

Fix a warning from gcc by adding a missed const qualifier.

üst 6bfd8de9
......@@ -130,7 +130,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
handle = dlopen(pathname, dlopenflags);
if (handle == NULL) {
char *error = dlerror();
const char *error = dlerror();
if (error == NULL)
error = "unknown dlopen() error";
PyErr_SetString(PyExc_ImportError, error);
......
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