summary refs log tree commit diff stats
path: root/hw/net/ne2000-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/ne2000-pci.c')
-rw-r--r--hw/net/ne2000-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/ne2000-pci.c b/hw/net/ne2000-pci.c
index 2153973af4..ce937e1b61 100644
--- a/hw/net/ne2000-pci.c
+++ b/hw/net/ne2000-pci.c
@@ -122,7 +122,7 @@ static const TypeInfo ne2000_info = {
     .instance_size = sizeof(PCINE2000State),
     .class_init    = ne2000_class_init,
     .instance_init = ne2000_instance_init,
-    .interfaces = (InterfaceInfo[]) {
+    .interfaces = (const InterfaceInfo[]) {
         { INTERFACE_CONVENTIONAL_PCI_DEVICE },
         { },
     },