Just applied 3&4 but dropped 1&2. 1&2 produce sign conversion warnings
in MSVC, that seem to be justified since we're comparing _packet with
transfer->num_iso_packets, that is defined as an int. I don't quite get
why we would want to switch to unsigned there.
Also, could you please try to merge
On 2013.01.27 20:21, Zoltán Kovács wrote:
> I only use libusbx and make it a bit better if I can... :)
Which is absolutely fine.
Your patch has now been pushed to mainline. Thanks again for the help.
Regards,
/Pete
--
Hi Mohamed,
On 2013.01.28 09:57, Mohamed HAMZAOUI wrote:
> I return for you for a crash problem in my soft.
> For remember, I'm now developping a software based on libusbx to send
> and receive with my CAN-USB gateway card.
> In my program i have a start a thread to handle event with this code :
>
Please do not take into account this :
libusb_cancel_transfer(transfer->xfer); /* the callback do the free */
Regards,
Mohamed
On Mon, Jan 28, 2013 at 10:57 AM, Mohamed HAMZAOUI wrote:
> Hi,
> I return for you for a crash problem in my soft.
> For remember, I'm now developping a software based o
Hi,
I return for you for a crash problem in my soft.
For remember, I'm now developping a software based on libusbx to send
and receive with my CAN-USB gateway card.
In my program i have a start a thread to handle event with this code :
static void *event_handler_thread(void *args)
{
struct dtlib *l