* lib/uniname/uniname.c (unicode_character_name): Use %u instead of %d
in format string.
+2023-06-04 Bruno Haible <bruno@clisp.org>
+
+ uniname/uniname: Fix -Wformat-signedness warning.
+ * lib/uniname/uniname.c (unicode_character_name): Use %u instead of %d
+ in format string.
+
2023-06-04 Bruno Haible <bruno@clisp.org>
uniname/uniname: Improve comments.
small. */
/* buf needs to have at least 19 + 3 + 1 bytes here. */
- sprintf (buf, "VARIATION SELECTOR-%d",
+ sprintf (buf, "VARIATION SELECTOR-%u",
c <= 0xFE0F ? c - 0xFE00 + 1 : c - 0xE0100 + 17);
return buf;
}