diff options
author | Akihiko Odaki <akihiko.odaki@gmail.com> | 2021-07-09 01:56:19 +0900 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-07-26 10:24:49 +0200 |
commit | 40a9aadbc9900f8b50fffe485df7cc0bfb9ec01c (patch) | |
tree | 9ee9fd5105fdd07b9bc2c57e35434c0b169e4740 /ui | |
parent | 074c0653c25bbd2f3978699099051d2343f34c57 (diff) |
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>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cocoa.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m index 9f72844b07..68a6302184 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -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); |