summaryrefslogtreecommitdiff
path: root/render/directory.c
diff options
context:
space:
mode:
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);