Hi all,

I get the following warning when trying to build current git master on a 32-bit 
host:

ui/curses.c: In function ‘get_ucs’:
ui/curses.c:456:49: warning: format ‘%x’ expects argument of type ‘unsigned 
int’, but
argument 3 has type ‘wchar_t’ {aka ‘long int’} [-Wformat=]
         fprintf(stderr, "Could not convert 0x%02x from WCHAR_T to UCS-2: %s\n",
                                              ~~~^
                                              %02lx
                         wch, strerror(errno));
                         ~~~

Looks like this is an unintended side effect of commit 2f8b7cd587 "curses: add 
option
to specify VGA font encoding".


ATB,

Mark.

Reply via email to