]> Git Repo - qemu.git/blobdiff - hw/fw_cfg.c
vl: Use size_t for sizes in get_boot_devices_list()
[qemu.git] / hw / fw_cfg.c
index 699383c87a9bd6c9ced9fc5e20e47d12b9847baa..3b31d77f3fd3f7c5a4b67d4acc4f4c16b924963d 100644 (file)
@@ -471,7 +471,7 @@ void fw_cfg_add_file(FWCfgState *s,  const char *filename,
 
 static void fw_cfg_machine_ready(struct Notifier *n, void *data)
 {
-    uint32_t len;
+    size_t len;
     FWCfgState *s = container_of(n, FWCfgState, machine_ready);
     char *bootindex = get_boot_devices_list(&len);
 
This page took 0.020845 seconds and 4 git commands to generate.