Looks good to me. On Jun 18, 2010, at 4:05 PM, Jordy Rose wrote:
> Casting to void* or any other pointer-to-sizeless type (e.g. function > pointers) causes a divide-by-zero error. Simple fix: check if the pointee > type size is 0 and bail out early if it is. > <void-ptr-cast.patch>_______________________________________________ > cfe-commits mailing list > cfe-commits@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits