mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
box-drawing: fix compilation error on 32-bit; wc is int on 64-bit, long on 32-bit
This commit is contained in:
parent
7acdb3a0dd
commit
92dc581bea
1 changed files with 2 additions and 2 deletions
|
|
@ -183,7 +183,7 @@ draw_glyph(wchar_t wc, pixman_image_t *pix, int width, int height, int stride)
|
|||
case 0x259d:
|
||||
case 0x259e:
|
||||
case 0x259f:
|
||||
LOG_WARN("unimplemented: box drawing: wc=%04x", wc);
|
||||
LOG_WARN("unimplemented: box drawing: wc=%04lx", (long)wc);
|
||||
//assert(false);
|
||||
break;
|
||||
}
|
||||
|
|
@ -192,7 +192,7 @@ draw_glyph(wchar_t wc, pixman_image_t *pix, int width, int height, int stride)
|
|||
struct fcft_glyph *
|
||||
box_drawing(struct terminal *term, wchar_t wc)
|
||||
{
|
||||
LOG_DBG("rendering 0x%04x", wc);
|
||||
LOG_DBG("rendering 0x%04lx", (long)wc);
|
||||
|
||||
int width = term->cell_width;
|
||||
int height = term->cell_height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue