From 2ce31fb1333ce6a8ffe62c49cb9f42aac5547ae2 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 2 Jan 2014 15:55:36 +0100 Subject: mbrtowc behaves strange. or i'm just dumb. --- host/matelight/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/matelight/font.h') diff --git a/host/matelight/font.h b/host/matelight/font.h index 6213eb4..658609a 100644 --- a/host/matelight/font.h +++ b/host/matelight/font.h @@ -17,5 +17,5 @@ typedef struct { int read_bdf(FILE *f, glyph_t **glyph_table, unsigned int glyph_table_size); // Requires buf to point to a buffer at least of size glyph->width*glyph->height. -void render_glyph(glyph_t *glyph, char *buf, unsigned int bufwidth, unsigned int offx, unsigned int offy); +void render_glyph(glyph_t *glyph, uint8_t *buf, unsigned int bufwidth, unsigned int offx, unsigned int offy); -- cgit