Skip to content

Commit dd0dc26

Browse files
committed
int
1 parent 30e4765 commit dd0dc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filter/less/filter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The function `grayscale` should take an image and turn it into a black-and-white
170170
RGBTRIPLE grayscale_pixel(int height, int width, RGBTRIPLE image[height][width], int x, int y)
171171
{
172172
// calculate the average pixel value
173-
BYTE average = 0; // <--- TODO
173+
int average = 0; // <--- TODO
174174
175175
// set each color value to the average value
176176
RGBTRIPLE triple;

0 commit comments

Comments
 (0)