diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-11-14 20:25:44 +0100 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2015-11-30 06:47:02 +0100 |
commit | a28c2f2df7679e3a87789e9fb7ed69331f697297 (patch) | |
tree | 176a321b673ba655566aa9f4f5af7f6bf62bfe73 /include/sysemu/os-win32.h | |
parent | 857a0e387a6c91b5ea012aafae04c95eba314306 (diff) |
oslib-win32: Change return type of function getpagesize
getpagesize on Linux returns an int. Fix QEMU's implementation for
Windows to return an int (instead of size_t), too.
This fixes a compiler warning which was introduced recently
(commit 093e3c42).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'include/sysemu/os-win32.h')
-rw-r--r-- | include/sysemu/os-win32.h | 2 |
1 files changed, 1 insertions, 1 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 |