]> git.proxmox.com Git - qemu.git/blobdiff - hw/fdc.c
Fix bdrv_get_geometry to return uint64_t, by Andre Przywara.
[qemu.git] / hw / fdc.c
index 868ae076a4e374a570cba9b4f933c530b89bbc7b..e5f46d086e5161bcda49f8fa57497410539ab095 100644 (file)
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -234,7 +234,7 @@ static const fd_format_t fd_formats[] = {
 static void fd_revalidate (fdrive_t *drv)
 {
     const fd_format_t *parse;
-    int64_t nb_sectors, size;
+    uint64_t nb_sectors, size;
     int i, first_match, match;
     int nb_heads, max_track, last_sect, ro;