From 5f1defd4a7700f8f39f8b30c25fada31c8bb1b71 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 18 Aug 2018 23:44:15 +0100 Subject: fix size_t format specifiers --- content/handlers/html/layout.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'content/handlers/html/layout.c') diff --git a/content/handlers/html/layout.c b/content/handlers/html/layout.c index ee1212861..d52dbf8eb 100644 --- a/content/handlers/html/layout.c +++ b/content/handlers/html/layout.c @@ -3617,8 +3617,8 @@ layout_line(struct box *first, NSLOG(layout, DEBUG, - "splitting: split_box %p \"%.*s\", spilt %zu, w %i, " - "left %p, right %p, inline_count %u", + "splitting: split_box %p \"%.*s\", spilt %"PRIsizet + ", w %i, left %p, right %p, inline_count %u", split_box, (int)split_box->length, split_box->text, @@ -3689,7 +3689,8 @@ layout_line(struct box *first, /* fit as many words as possible */ assert(split != 0); - NSLOG(layout, DEBUG, "'%.*s' %i %zu %i", + NSLOG(layout, DEBUG, + "'%.*s' %i %"PRIsizet" %i", (int)split_box->length, split_box->text, x1 - x0, split, w); -- cgit v1.2.3