Warning squashes

svn path=/trunk/netsurf/; revision=5527
This commit is contained in:
Rob Kendrick 2008-10-10 09:47:52 +00:00
parent 88b8fdb221
commit 9343a94193
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}