mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
Fix all current build warnings in LibC.
This commit is contained in:
parent
47b7eeda44
commit
e9cdb6bb9b
9 changed files with 19 additions and 17 deletions
|
@ -91,7 +91,7 @@ int getopt(int nargc, char* const nargv[], const char* ostr)
|
|||
}
|
||||
else { /* need an argument */
|
||||
if (*place) /* no white space */
|
||||
optarg = (char*)place;
|
||||
optarg = const_cast<char*>(place);
|
||||
else if (nargc <= ++optind) { /* no arg */
|
||||
place = EMSG;
|
||||
if (*ostr == ':')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue