Commit 9fc2f5b3 authored by Adam Blank's avatar Adam Blank
Browse files

fix type typo

parent da167c8a
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -113,7 +113,7 @@ void bmp_write(image_t *img, dimensions_t size, char *filename) {
.color_space_type={"Win "}
};
for (ssize_t i = 0; i < size.height; i++) {
for (size_t i = 0; i < size.height; i++) {
for (size_t j = 0; j < size.width; j++) {
size_t idx = data_size - NUM_COLOR_COMPONENTS * ((i + 1) * size.width - j);
rgba_color_t color = image_get_pixel(img, i, j);
......
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