mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-26 14:07:05 +03:00
Warning squashes
svn path=/trunk/netsurf/; revision=5527
This commit is contained in:
parent
88b8fdb221
commit
9343a94193
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user