* type adjustment
This commit is contained in:
parent
f199711eee
commit
10e13cf629
|
@ -34,8 +34,8 @@ package Video.Images.Raster.Indexed.Generic_Unbounded is
|
|||
overriding function Pixel_Index (
|
||||
Source : Image;
|
||||
A : Point)
|
||||
return Natural
|
||||
is (Integer (Pixel_Type'(Source.Pixel (A))));
|
||||
return Color_Index
|
||||
is (Color_Index (Pixel_Type'(Source.Pixel (A))));
|
||||
|
||||
end Images_with_Color_Map;
|
||||
|
||||
|
|
Loading…
Reference in New Issue