]> git.proxmox.com Git - mirror_qemu.git/commit
oslib-win32: Change return type of function getpagesize
authorStefan Weil <sw@weilnetz.de>
Sat, 14 Nov 2015 19:25:44 +0000 (20:25 +0100)
committerStefan Weil <sw@weilnetz.de>
Mon, 30 Nov 2015 05:47:02 +0000 (06:47 +0100)
commita28c2f2df7679e3a87789e9fb7ed69331f697297
tree176a321b673ba655566aa9f4f5af7f6bf62bfe73
parent857a0e387a6c91b5ea012aafae04c95eba314306
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>
include/sysemu/os-win32.h
util/oslib-win32.c