Commit 2b03e248 authored by Julien Michel's avatar Julien Michel

COMP: Fixing narrow cast warning

parent 61392d3b
......@@ -204,7 +204,7 @@ MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter
//define default kernel paramerters...
kernelType k[2] = {Uniform, Uniform};
int P[2] = {2, inputPtr->GetNumberOfComponentsPerPixel()};
int P[2] = {2, static_cast<int>(inputPtr->GetNumberOfComponentsPerPixel())};
float tempH[2] = {1.0, 1.0};
edisonProcessor.DefineKernel(k, tempH, P, 2);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment