diff options
-rw-r--r-- | include/sysemu/os-win32.h | 2 | ||||
-rw-r--r-- | util/oslib-win32.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h index 13dcef6b4c..400e098607 100644 --- a/include/sysemu/os-win32.h +++ b/include/sysemu/os-win32.h @@ -87,7 +87,7 @@ static inline void os_setup_post(void) {} void os_set_line_buffering(void); static inline void os_set_proc_name(const char *dummy) {} -size_t getpagesize(void); +int getpagesize(void); #if !defined(EPROTONOSUPPORT) # define EPROTONOSUPPORT EINVAL diff --git a/util/oslib-win32.c b/util/oslib-win32.c index 09f9e98a40..6a47019dfb 100644 --- a/util/oslib-win32.c +++ b/util/oslib-win32.c @@ -454,7 +454,7 @@ gint g_poll(GPollFD *fds, guint nfds, gint timeout) return retval; } -size_t getpagesize(void) +int getpagesize(void) { SYSTEM_INFO system_info; |