Commit ef28c4b009fad04c9c56612f6b892354cd13f20e
1 parent
6fcfeff9
Fix Win32 warning
Showing
1 changed file
with
1 additions
and
1 deletions
vl.c
@@ -934,7 +934,7 @@ static struct qemu_alarm_timer *alarm_timer; | @@ -934,7 +934,7 @@ static struct qemu_alarm_timer *alarm_timer; | ||
934 | struct qemu_alarm_win32 { | 934 | struct qemu_alarm_win32 { |
935 | MMRESULT timerId; | 935 | MMRESULT timerId; |
936 | unsigned int period; | 936 | unsigned int period; |
937 | -} alarm_win32_data = {0, NULL, -1}; | 937 | +} alarm_win32_data = {0, -1}; |
938 | 938 | ||
939 | static int win32_start_timer(struct qemu_alarm_timer *t); | 939 | static int win32_start_timer(struct qemu_alarm_timer *t); |
940 | static void win32_stop_timer(struct qemu_alarm_timer *t); | 940 | static void win32_stop_timer(struct qemu_alarm_timer *t); |