ui/cocoa: Fix the type of main's argv
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20210708165619.29299-1-akihiko.odaki@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
074c0653c2
commit
40a9aadbc9
@ -1888,12 +1888,12 @@ static void *call_qemu_main(void *opaque)
|
||||
exit(status);
|
||||
}
|
||||
|
||||
int main (int argc, const char * argv[]) {
|
||||
int main (int argc, char **argv) {
|
||||
QemuThread thread;
|
||||
|
||||
COCOA_DEBUG("Entered main()\n");
|
||||
gArgc = argc;
|
||||
gArgv = (char **)argv;
|
||||
gArgv = argv;
|
||||
|
||||
qemu_sem_init(&display_init_sem, 0);
|
||||
qemu_sem_init(&app_started_sem, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user