mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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>
This commit is contained in:
parent
857a0e387a
commit
a28c2f2df7
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue