Commit 21e0d575 authored by Will Schroeder's avatar Will Schroeder
Browse files

ERR:Removed conversion warnings

parent b74cc9a3
......@@ -567,7 +567,7 @@ static void vtkLookupTableMapData(vtkLookupTable *self, T *input,
*output++ = *cptr++;
*output++ = *cptr++;
*output++ = *cptr++;
*output++ = (*cptr)*alpha; cptr++;
*output++ = (unsigned char)((*cptr)*alpha); cptr++;
input += inIncr;
}
}
......@@ -591,7 +591,7 @@ static void vtkLookupTableMapData(vtkLookupTable *self, T *input,
cptr = vtkLinearLookup(val, table, maxIndex, shift, scale);
*output++ = (unsigned char)(cptr[0]*0.30 + cptr[1]*0.59 +
cptr[2]*0.11 + 0.5);
*output++ = alpha*cptr[3];
*output++ = (unsigned char)(alpha*cptr[3]);
input += inIncr;
}
}
......@@ -624,7 +624,7 @@ static void vtkLookupTableMapData(vtkLookupTable *self, T *input,
*output++ = *cptr++;
*output++ = *cptr++;
*output++ = *cptr++;
*output++ = (*cptr)*alpha; cptr++;
*output++ = (unsigned char)((*cptr)*alpha); cptr++;
input += inIncr;
}
}
......@@ -646,7 +646,7 @@ static void vtkLookupTableMapData(vtkLookupTable *self, T *input,
cptr = vtkLinearLookup(*input, table, maxIndex, shift, scale);
*output++ = (unsigned char)(cptr[0]*0.30 + cptr[1]*0.59 +
cptr[2]*0.11 + 0.5);
*output++ = cptr[3]*alpha;
*output++ = (unsigned char)(cptr[3]*alpha);
input += inIncr;
}
}
......
Supports Markdown
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