summaryrefslogtreecommitdiff
path: root/render/directory.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-13 14:11:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-13 14:11:05 +0000
commit9e68e32338513c358ae168f4be1c5ffdf4e4de87 (patch)
tree7272e20784ef9202b80d88054863e455b469f78d /render/directory.c
parent905fa1f62468e570c808db95ad911de88be77a9a (diff)
downloadnetsurf-9e68e32338513c358ae168f4be1c5ffdf4e4de87.tar.gz
netsurf-9e68e32338513c358ae168f4be1c5ffdf4e4de87.tar.bz2
Warnings.squash();
svn path=/trunk/netsurf/; revision=5088
Diffstat (limited to 'render/directory.c')
-rw-r--r--render/directory.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/render/directory.c b/render/directory.c
index 754449df5..1363ad251 100644
--- a/render/directory.c
+++ b/render/directory.c
@@ -103,7 +103,8 @@ bool directory_convert(struct content *c, int width, int height) {
#ifndef WITH_HUBBUB
htmlParseChunk(c->data.html.parser, buffer, strlen(buffer), 0);
#else
- hubbub_parser_parse_chunk(c->data.html.parser, buffer, strlen(buffer));
+ hubbub_parser_parse_chunk(c->data.html.parser,
+ (uint8_t *) buffer, strlen(buffer));
#endif
res = url_parent(c->url, &up);
@@ -117,7 +118,8 @@ bool directory_convert(struct content *c, int width, int height) {
strlen(buffer), 0);
#else
hubbub_parser_parse_chunk(c->data.html.parser,
- buffer, strlen(buffer));
+ (uint8_t *) buffer,
+ strlen(buffer));
#endif
}
free(up);
@@ -139,7 +141,7 @@ bool directory_convert(struct content *c, int width, int height) {
htmlParseChunk(c->data.html.parser, buffer, strlen(buffer), 0);
#else
hubbub_parser_parse_chunk(c->data.html.parser,
- buffer, strlen(buffer));
+ (uint8_t *) buffer, strlen(buffer));
#endif
}
closedir(parent);