billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=1488b413427b522db82acfef66aca8ca5c78b9f6
commit 1488b413427b522db82acfef66aca8ca5c78b9f6 Author: Boris Faure <[email protected]> Date: Sun Nov 24 19:57:48 2019 +0100 backlog: cleanup --- src/bin/backlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/backlog.c b/src/bin/backlog.c index 0679383..b7271c8 100644 --- a/src/bin/backlog.c +++ b/src/bin/backlog.c @@ -103,7 +103,7 @@ termpty_save_free(Termpty *ty, Termsave *ts) } free(ts->cells); ts->cells = NULL; - _accounting_change(-1 * ts->w * sizeof(Termcell)); + _accounting_change((-1) * (int)(ts->w * sizeof(Termcell))); ts->w = 0; } @@ -127,7 +127,7 @@ termpty_backlog_free(Termpty *ty) for (i = 0; i < ty->backsize; i++) termpty_save_free(ty, &ty->back[i]); - _accounting_change(-1 * sizeof(Termsave) * ty->backsize); + _accounting_change((-1) * (int)(sizeof(Termsave) * ty->backsize)); free(ty->back); ty->back = NULL; } --
