This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch tymux-10-quiet-head
in repository terminology.
View the commit online.
commit b6f4be83925d43924ae482256d1c7e61de3ade13
Author: Boris Faure <[email protected]>
AuthorDate: Sat Nov 7 17:41:23 2026 +0000
termpty: use MIN() in termpty_cells_replicate
---
src/bin/termpty.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/termpty.h b/src/bin/termpty.h
index 85a60b54..1e932844 100644
--- a/src/bin/termpty.h
+++ b/src/bin/termpty.h
@@ -538,7 +538,7 @@ termpty_cells_replicate(Termcell *dst, int n)
for (done = 1; done < n; done *= 2)
memcpy(dst + done, dst,
- (size_t)((done < n - done) ? done : n - done) * sizeof(*dst));
+ (size_t)MIN(n - done, done) * sizeof(*dst));
}
static inline void
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.