From 6139ee872d09d34618a3ab590a6da03fdc590837 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 7 Jun 2026 14:15:56 +0200 Subject: Style improvement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcmap.h') diff --git a/libcmap.h b/libcmap.h index 6980daa..a62ddee 100644 --- a/libcmap.h +++ b/libcmap.h @@ -33,7 +33,7 @@ * @param RANGE:const libcmap_range * The codepoint range * @return :size_t The number of covered codepoints */ -#define LIBCMAP_RANGE_SIZE(RANGE) ((size_t)((RANGE)->last - (RANGE)->first + 1U)) +#define LIBCMAP_RANGE_SIZE(RANGE) ((size_t)((RANGE)->last - (RANGE)->first + 1u)) /** @@ -272,8 +272,8 @@ int libcmap_sprint_range(char *buf, const struct libcmap_range *range, const cha * will not be counted in the return value * * If `bufsize` is not sufficiently large, string printed to - * `buf` will be truncated to `bufsize - 1U` bytes, a NUL - * byte will be added to the end (at `buf[bufsize - 1U`); + * `buf` will be truncated to `bufsize - 1u` bytes, a NUL + * byte will be added to the end (at `buf[bufsize - 1u`); * however if `bufsize` is 0, nothing is written to `buf`. * The function will always return the size the full string, * even if it was truncated; therefore the return value can -- cgit v1.3.1