﻿id,summary,reporter,owner,description,type,status,milestone,component,resolution,keywords,cc,blockedby,blocking
100,"[PATCH] - cast of 32 bit value to 64 bit, pthread_exit",rogueresearch,hjelmn,"Attached patch fixes a warning on darwin:

  IOReturn kresult;
  ...
  pthread_exit ((void *)kresult);

That's rather evil. :) IOReturn is a 32bit int. On x86_64, casting it to a (64 bit) pointer is not sound.

In any case, pthread_join never uses the value.

Patch is simple, and attached.",defect,closed,,libusb-1.0,fixed,,,,
