mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -1888,12 +1888,12 @@ static void cocoa_clipboard_request(QemuClipboardInfo *info,
|
|||
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 a new issue