Commit 6e9f2c7f authored by Jan Möbius's avatar Jan Möbius

Explicit cast to avoid warning

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@82 fdac6126-5c0c-442c-9429-916003d36597
parent 4fbf4852
......@@ -74,7 +74,7 @@ getopt(int nargc, char * const *nargv, const char *ostr)
}
} /* option letter okay? */
if ((optopt = (int)*place++) == (int)':' ||
!(oli = strchr(ostr, optopt))) {
!(oli = (char *)strchr(ostr, optopt))) {
/*
* if the user didn't specify '-' as an option,
* assume it means -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