}
static bool unicode_supported(void) {
- static INTN cache = -1;
+ static int cache = -1;
if (cache < 0)
/* Basic unicode box drawing support is mandated by the spec, but it does
efivar_set(vendor, name, str, 0);
}
-static INTN utf8_to_16(const char *stra, char16_t *c) {
+static int utf8_to_16(const char *stra, char16_t *c) {
char16_t unichar;
UINTN len;
strlen = 0;
i = 0;
while (i < len) {
- INTN utf8len;
+ int utf8len;
utf8len = utf8_to_16(stra + i, str + strlen);
if (utf8len <= 0) {
strlen = 1;
i = 0;
while (i < len) {
- INTN utf8len;
+ int utf8len;
utf8len = utf8_to_16(stra + i, str + strlen);
if (utf8len <= 0) {