diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-11-11 10:04:41 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-11-11 10:04:41 +0000 |
commit | 10807e85f60102e4edc89c8876abe7411b3d7b30 (patch) | |
tree | 6042e0907a7f5c71f78903b8070162069cab6cea /apps/gui/skin_engine | |
parent | f74a1aab64410c567054b28a286ad1ef56f2ce7f (diff) |
fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28553 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index a0466a8dbd..2aa0f66da0 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1124,7 +1124,7 @@ static bool load_skin_bmp(struct wps_data *wps_data, struct bitmap *bitmap, char char* imgbuf = (char*)skin_buffer_alloc(buf_size); if (!imgbuf) { - DEBUGF("Not enough skin buffer: need %ld more.\n", + DEBUGF("Not enough skin buffer: need %zd more.\n", buf_size - skin_buffer_freespace()); close(fd); return NULL; |