mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-22 20:05:39 +00:00
Match the return type of getopt().
getopt() returns an int, not a char. Bug: chromium:1287175 Change-Id: I9866112f7420b39ea470d9f04435ca328ab37ce0 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3387609 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
bbf740148d
commit
862dc68dbc
|
@ -331,7 +331,7 @@ static void SetupOptions(int argc, const char* argv[], Options* options) {
|
|||
options->force = NO;
|
||||
|
||||
extern int optind;
|
||||
char ch;
|
||||
int ch;
|
||||
|
||||
while ((ch = getopt(argc, (char* const*)argv, "p:k:t:c:i:hf?")) != -1) {
|
||||
switch (ch) {
|
||||
|
|
Loading…
Reference in a new issue