more warnings fixed. +some warnings in examples

This commit is contained in:
Anatoly Baksheev
2011-05-07 12:06:58 +00:00
parent 927dccb463
commit 8ebff41c29
12 changed files with 22 additions and 18 deletions

View File

@@ -155,7 +155,7 @@ void DetectAndDraw( Mat& img, CascadeClassifier& cascade)
int radius;
center.x = cvRound(r->x + r->width*0.5);
center.y = cvRound(r->y + r->height*0.5);
radius = cvRound(r->width + r->height)*0.25;
radius = (int)(cvRound(r->width + r->height)*0.25);
circle( img, center, radius, color, 3, 8, 0 );
}