First time here? Check out the FAQ!
answered 2013-03-15 04:26:54 -0600
Just add explicit conversion to CvPoint* type:
CvPoint* ptr = (CvPoint*) malloc(...)