diff --git a/java-does-usb/src/main/java/net/codecrete/usb/linux/gen/usbdevice_fs/usbdevfs_urb.java b/java-does-usb/src/main/java/net/codecrete/usb/linux/gen/usbdevice_fs/usbdevfs_urb.java index dff5ddb..8649bc8 100644 --- a/java-does-usb/src/main/java/net/codecrete/usb/linux/gen/usbdevice_fs/usbdevfs_urb.java +++ b/java-does-usb/src/main/java/net/codecrete/usb/linux/gen/usbdevice_fs/usbdevfs_urb.java @@ -51,10 +51,7 @@ public class usbdevfs_urb { usbdevice_fs.C_INT.withName("buffer_length"), usbdevice_fs.C_INT.withName("actual_length"), usbdevice_fs.C_INT.withName("start_frame"), - MemoryLayout.unionLayout( - usbdevice_fs.C_INT.withName("number_of_packets"), - usbdevice_fs.C_INT.withName("stream_id") - ).withName("$anon$126:2"), + MemoryLayout.paddingLayout(4), usbdevice_fs.C_INT.withName("error_count"), usbdevice_fs.C_INT.withName("signr"), usbdevice_fs.C_POINTER.withName("usercontext"),