diff options
Diffstat (limited to '')
-rw-r--r-- | minui/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp index 0680c32bb..dcca3ec41 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp @@ -306,7 +306,7 @@ static void gr_init_font(void) gr_font->texture->pixel_bytes = 1; unsigned char* bits = static_cast<unsigned char*>(malloc(font.width * font.height)); - gr_font->texture->data = reinterpret_cast<unsigned char*>(bits); + gr_font->texture->data = bits; unsigned char data; unsigned char* in = font.rundata; |