From 7d3a242132eedadbcb96bead6dbed64729d11aaf Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 14 Aug 2004 12:57:02 +0000 Subject: [project @ 2004-08-14 12:57:00 by joty] Using more stddef.h types. svn path=/import/netsurf/; revision=1230 --- render/box.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index bb493a323..5b6427bc6 100644 --- a/render/box.h +++ b/render/box.h @@ -159,8 +159,8 @@ struct box { int min_width; int max_width; /**< Width that would be taken with no line breaks. */ - char *text; /**< Text, or 0 if none. Unterminated. */ - unsigned int length; /**< Length of text. */ + char *text; /**< Text, or 0 if none. Unterminated. */ + size_t length; /**< Length of text. */ /** Text is followed by a space. */ unsigned int space : 1; @@ -234,7 +234,8 @@ struct column { void xml_to_box(xmlNode *n, struct content *c); void box_dump(struct box * box, unsigned int depth); struct box * box_create(struct css_style * style, - char *href, char *title, char *id, pool box_pool); + const char *href, const char *title, + const char *id, pool box_pool); void box_add_child(struct box * parent, struct box * child); void box_insert_sibling(struct box *box, struct box *new_box); void box_free(struct box *box); -- cgit v1.2.3