mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
kill compilation warnings on alpine
This commit is contained in:
parent
53c95b6d86
commit
c067527c28
@ -64,7 +64,7 @@ wvizn(struct ncplane* n, const wchar_t* wp, int nnn){
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
braille_viz(struct ncplane* n, wchar_t l, const wchar_t* egcs, wchar_t r,
|
braille_viz(struct ncplane* n, wint_t l, const wchar_t* egcs, wchar_t r,
|
||||||
const char* indent, const wchar_t* bounds, wchar_t r8, wchar_t l8,
|
const char* indent, const wchar_t* bounds, wchar_t r8, wchar_t l8,
|
||||||
const wchar_t* trailer){
|
const wchar_t* trailer){
|
||||||
ncplane_printf(n, "%s%lc", indent, l);
|
ncplane_printf(n, "%s%lc", indent, l);
|
||||||
|
@ -26,7 +26,7 @@ add_wchar(wchar_t** wbuf, size_t* bufsize, size_t* used, wchar_t wc){
|
|||||||
static int
|
static int
|
||||||
defaultout(void){
|
defaultout(void){
|
||||||
for(int i = 0 ; i < 128 ; ++i){
|
for(int i = 0 ; i < 128 ; ++i){
|
||||||
wchar_t w = i;
|
wint_t w = i;
|
||||||
int width = wcwidth(w);
|
int width = wcwidth(w);
|
||||||
printf("0x%02x: %d%c\t", w, width, width < 0 ? '!' : ' ');
|
printf("0x%02x: %d%c\t", w, width, width < 0 ? '!' : ' ');
|
||||||
if(i % 4 == 3){
|
if(i % 4 == 3){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user