From 9343a94193b3fba4f69c4f963f7bc507877a823d Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Fri, 10 Oct 2008 09:47:52 +0000 Subject: Warning squashes svn path=/trunk/netsurf/; revision=5527 --- image/nssprite.c | 2 +- render/loosen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/image/nssprite.c b/image/nssprite.c index 950904e52..e361a6600 100644 --- a/image/nssprite.c +++ b/image/nssprite.c @@ -78,7 +78,7 @@ bool nssprite_convert(struct content *c, int width, int height) content_broadcast(c, CONTENT_MSG_ERROR, msg_data); return false; } - char* imagebuf = bitmap_get_buffer(c->bitmap); + unsigned char* imagebuf = bitmap_get_buffer(c->bitmap); if (!imagebuf) { msg_data.error = messages_get("NoMemory"); content_broadcast(c, CONTENT_MSG_ERROR, msg_data); diff --git a/render/loosen.c b/render/loosen.c index 8f22bcdfa..80f64bdcb 100644 --- a/render/loosen.c +++ b/render/loosen.c @@ -141,7 +141,7 @@ bool loosen_text(struct box *text, int width, struct content *content) if (offset < text->length - position) { /*Another break*/ - LOG(("Current text broken at offset %d", + LOG(("Current text broken at offset %zu", position + offset)); breaks[break_count++] = position + offset-1; } -- cgit v1.2.3