I have a function which is declared as the following
When I try to call it as followsCode:void errorParser(int error,char* dir)
I get the following error:Code:errorParser(errno,(const char*)getenv("HOME"));
passing arg 2 of 'errorParser' discards qualifier from pointer target type?
What does that mean? And should I be worried about it?????