fixed several gcc 4.1 warnings
This commit is contained in:
@@ -256,7 +256,7 @@ int convFFTConv2d(const CvLSVMFftImage *featMapImage, const CvLSVMFftImage *filt
|
||||
imagesMultRes = (float *)malloc(sizeof(float) * size);
|
||||
fftImagesMulti(featMapImage->channels[0], filterImage->channels[0],
|
||||
featMapImage->dimY, featMapImage->dimX, imagesMultRes);
|
||||
for (i = 1; (i < featMapImage->p) && (i < filterImage->p); i++)
|
||||
for (i = 1; (i < (int)featMapImage->p) && (i < (int)filterImage->p); i++)
|
||||
{
|
||||
fftImagesMulti(featMapImage->channels[i],filterImage->channels[i],
|
||||
featMapImage->dimY, featMapImage->dimX, imagesMult);
|
||||
@@ -1460,4 +1460,4 @@ int nonMaximumSuppression(int numBoxes, const CvPoint *points,
|
||||
free(is_suppressed);
|
||||
|
||||
return LATENT_SVM_OK;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user