Commit 3fa82ee1 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add missing const specification.

parent f492393e
......@@ -19,7 +19,7 @@ const char *cdiStringError(int cdiErrno)
switch (cdiErrno) {
case CDI_ESYSTEM:
{
char *cp = (char *) strerror(errno);
const char *cp = strerror(errno);
if ( cp == NULL ) break;
return cp;
}
......
Supports Markdown
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