Fix 64 bit simulator warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14957 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-10-02 17:04:56 +00:00
parent 29f07cdbca
commit 8ab2cb5140

View file

@ -306,7 +306,7 @@ struct font* font_load(const char *path)
font_reset(); font_reset();
/* currently, font loading replaces earlier font allocation*/ /* currently, font loading replaces earlier font allocation*/
freeptr = (unsigned char *)(((int)mbuf + 3) & ~3); freeptr = (unsigned char *)(((intptr_t)mbuf + 3) & ~3);
fileptr = freeptr; fileptr = freeptr;