summaryrefslogtreecommitdiff
path: root/src/man.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-12-31 16:12:48 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-12-31 16:52:49 +0100
commitf20c3ed92efdb09c75f5ecfa14e00291825e65a0 (patch)
tree88e8536c30b4a0eeaa8d6eabcc71661dc5371b4d /src/man.c
parent7787301eda4cbe4476a73241579c1838f6153279 (diff)
Remove useless void* cast
Diffstat (limited to 'src/man.c')
-rw-r--r--src/man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/man.c b/src/man.c
index 1b45f8b..176081f 100644
--- a/src/man.c
+++ b/src/man.c
@@ -43,9 +43,9 @@ struct render_state {
};
static int
-S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
+S_render_node(cmark_node *node, cmark_event_type ev_type,
+ struct render_state *state)
{
- struct render_state *state = vstate;
cmark_node *tmp;
cmark_strbuf *man = state->man;
int list_number;