commit | 97679527bf2f002225d08cfb93f840cef449ac0e | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun May 09 14:51:13 2010 +0300 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Fri May 28 21:33:59 2010 +0200 |
tree | 10658c03eeb795084ff06a269326a7432cb94ba4 | |
parent | 9ba8c3f41d47f2051ea4bdb7156978f941ea7324 [diff] |
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: Avi Kivity <avi@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>