diff options
Diffstat (limited to 'src/x11')
-rw-r--r-- | src/x11/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/util.c b/src/x11/util.c index c41f1d6..b709bf2 100644 --- a/src/x11/util.c +++ b/src/x11/util.c @@ -164,7 +164,7 @@ adopt_atoms(struct xkb_context *ctx, xcb_connection_t *conn, /* Send and collect the atoms in batches of reasonable SIZE. */ for (size_t batch = 0; batch < num_batches; batch++) { const size_t start = batch * SIZE; - const size_t stop = min((batch + 1) * SIZE, count); + const size_t stop = MIN((batch + 1) * SIZE, count); /* Send. */ for (size_t i = start; i < stop; i++) |