diff options
author | Stefan Weil <sw@weilnetz.de> | 2017-10-16 22:29:12 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-10-20 11:16:27 +0200 |
commit | e947d47da0b16e80d237c510e9d2e80799578c7f (patch) | |
tree | 93004f1c604b0c81549a3ea04dd5acdfc456ffe6 /audio/mixeng.c | |
parent | 063833a6ec2a6747e27c5f9866bb44c7e8de1265 (diff) |
oslib-posix: Fix compiler warning and some data types
gcc warning:
/qemu/util/oslib-posix.c:304:11: error:
variable ‘addr’ might be clobbered by ‘longjmp’ or ‘vfork’
[-Werror=clobbered]
Fix also some related data types:
numpages, hpagesize are used as pointer offset.
Always use size_t for them and also for the derived
numpages_per_thread and size_per_thread.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-id: 20171016202912.1117-1-sw@weilnetz.de
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'audio/mixeng.c')
0 files changed, 0 insertions, 0 deletions