disambigued segment constructor

parent f53b4d9f
Pipeline #89 passed with stages
in 17 seconds
......@@ -68,8 +68,8 @@ void deleteImage(Image *t_self) {
*/
Segment *newSegment(uint32_t t_right_limit, uint32_t t_left_limit) {
Segment *res = (Segment *)malloc(sizeof(Segment));
res->right_limit = t_right_limit;
res->left_limit = t_left_limit;
res->right_limit = t_right_limit;
return res;
}
......
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