diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-08-18 23:44:15 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-08-18 23:44:15 +0100 |
commit | 5f1defd4a7700f8f39f8b30c25fada31c8bb1b71 (patch) | |
tree | 80575d9c15876a10bc608b1903601fca081334f7 /content/handlers/html/layout.c | |
parent | a6c595f4f305c43d9da825ad31c0011fe02d0684 (diff) | |
download | netsurf-5f1defd4a7700f8f39f8b30c25fada31c8bb1b71.tar.gz netsurf-5f1defd4a7700f8f39f8b30c25fada31c8bb1b71.tar.bz2 |
fix size_t format specifiers
Diffstat (limited to 'content/handlers/html/layout.c')
-rw-r--r-- | content/handlers/html/layout.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); |