From 8ab2cb5140fcd6bfa16ef9a908639e6f7af4dfe6 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 2 Oct 2007 17:04:56 +0000 Subject: [PATCH] Fix 64 bit simulator warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14957 a1c6a512-1295-4272-9138-f99709370657 --- firmware/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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;