When creating a structure for an ioctl, you have to explicitly state how big the different fields are. Use the '__' types. So for your case, you probably want to use the "__u32" types.

Ah. I guess I was following the example of struct hiddev_usage_ref. Maybe those in hiddev_usage_ref should also be changed to __u32?


-- James Lamanna Applied Minds, Inc. 1209 Grand Central Ave. Glendale, CA 91201 (818) 332-5214


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to