Simplify guess_disk_lchs - should fix Windows stack corruption spotted by TeLeMan...
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Feb 2008 03:37:46 +0000 (03:37 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Feb 2008 03:37:46 +0000 (03:37 +0000)
commitc717d8bf13d4c24372c4885eefa821ec76378d2b
tree31eab27985fe9f8e48fc03e58921043671d29bfd
parent7241f532c3adbebfc8689b878aec3f244043d147
Simplify guess_disk_lchs - should fix Windows stack corruption spotted by TeLeMan (patch by Tristan Gingold).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3953 c046a42c-6fe2-441c-8c8c-71466251a162
hw/ide.c