Fix a warning, from Kosta Zertsekel.

pull/77/head
Nicholas Marriott 2015-07-24 09:06:15 +01:00
parent e6facdcb0c
commit 669059aa19
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ BSDgetopt(int nargc, char *const *nargv, const char *ostr)
}
else { /* need an argument */
if (*place) /* no white space */
BSDoptarg = place;
BSDoptarg = (char *)place;
else if (nargc <= ++BSDoptind) { /* no arg */
place = EMSG;
if (*ostr == ':')