Commit 1149d3a2 authored by Katya Firstova's avatar Katya Firstova
Browse files

Update solution/src/bmp.c

parent a2f487e6
No related merge requests found
Pipeline #44324 passed with stages
in 35 seconds
......@@ -111,7 +111,7 @@ enum write_status to_bmp(FILE *out, struct image const* image) {
for (size_t k = 0; k < 4 - ((image->width * 3) % 4); k++){
if(fwrite(&zero, sizeof (int8_t), 1, out) == 0) {
return WRITE_FWRITE_ERROR;
}
}
}
}
......@@ -120,7 +120,8 @@ enum write_status to_bmp(FILE *out, struct image const* image) {
}
return WRITE_OK;
}
}
......
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