Explicit cast to avoid warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@82 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user