Fix overflow in i440fx_init()
The ram_size parameter can be larger than an int, so it may be truncated. Fix by using the correct type. Signed-off-by: NAvi Kivity <avi@redhat.com> Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
Showing
想要评论请 注册 或 登录