Re: [Libusbx-devel] Win CE backend host_endian ness handling

2013-05-20 Thread Simon Haggett
Hi Hans There is indeed a bug here, thanks for catching this! Please see my comments below. > While reviewing host_endian handling in the descriptor code > (for the BOS / ss-ep-comp desc support), I noticed something weird > in the wince code: > > static int wince_get_device_descriptor( > s

[Libusbx-devel] Win CE backend host_endian ness handling

2013-05-18 Thread Hans de Goede
Hi, While reviewing host_endian handling in the descriptor code (for the BOS / ss-ep-comp desc support), I noticed something weird in the wince code: static int wince_get_device_descriptor( struct libusb_device *device, unsigned char *buffer, int *host_endian) { struct wince_devi