diff options
| -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 b7da31b..c58087d 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -306,7 +306,7 @@ struct font* font_load(const char *path) font_reset(); /* currently, font loading replaces earlier font allocation*/ - freeptr = (unsigned char *)(((int)mbuf + 3) & ~3); + freeptr = (unsigned char *)(((intptr_t)mbuf + 3) & ~3); fileptr = freeptr; |