disambigued segment constructor
This commit is contained in:
parent
f53b4d9f5f
commit
88e04466f3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user