Commit 4c00a824 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed redundant cast.

parent 3dd1355f
......@@ -131,7 +131,7 @@ cdo_getopt_internal(int nargc, char *const *nargv, const char *ostr)
}
/* option letter okay? */
if ((CDO_optopt = (int) *place++) == (int) ':' || !(oli = (char*)strchr(ostr, CDO_optopt)))
if ((CDO_optopt = (int) *place++) == (int) ':' || !(oli = strchr(ostr, CDO_optopt)))
{
/* if the user didn't specify '-' as an option, assume it means -1. */
if (CDO_optopt == (int) '-') return -1;
......
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