From 88e04466f3a606e03a24c2b08856857759c8c390 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Tue, 27 Nov 2018 23:12:12 +0100 Subject: [PATCH] disambigued segment constructor --- src/utilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities.c b/src/utilities.c index be6c5ae..b8cbd92 100644 --- a/src/utilities.c +++ b/src/utilities.c @@ -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; }