mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Fix a warning, from Kosta Zertsekel.
This commit is contained in:
@ -94,7 +94,7 @@ BSDgetopt(int nargc, char *const *nargv, const char *ostr)
|
|||||||
}
|
}
|
||||||
else { /* need an argument */
|
else { /* need an argument */
|
||||||
if (*place) /* no white space */
|
if (*place) /* no white space */
|
||||||
BSDoptarg = place;
|
BSDoptarg = (char *)place;
|
||||||
else if (nargc <= ++BSDoptind) { /* no arg */
|
else if (nargc <= ++BSDoptind) { /* no arg */
|
||||||
place = EMSG;
|
place = EMSG;
|
||||||
if (*ostr == ':')
|
if (*ostr == ':')
|
||||||
|
Reference in New Issue
Block a user