diff options
Diffstat (limited to 'firmware/font.c')
-rw-r--r-- | firmware/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c index b7da31b536..c58087daa3 100644 --- a/firmware/font.c +++ b/firmware/font.c | |||
@@ -306,7 +306,7 @@ struct font* font_load(const char *path) | |||
306 | font_reset(); | 306 | font_reset(); |
307 | 307 | ||
308 | /* currently, font loading replaces earlier font allocation*/ | 308 | /* currently, font loading replaces earlier font allocation*/ |
309 | freeptr = (unsigned char *)(((int)mbuf + 3) & ~3); | 309 | freeptr = (unsigned char *)(((intptr_t)mbuf + 3) & ~3); |
310 | fileptr = freeptr; | 310 | fileptr = freeptr; |
311 | 311 | ||
312 | 312 | ||