summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2011-01-03 12:57:51 -0800
committerDave Beckett <dave@dajobe.org>2011-01-03 12:57:51 -0800
commitee55e8df181cc0f0950655a1d79f505857f7215d (patch)
tree8163347fb5ce0df3447b867ca7781b6fec99bbc6 /examples
parentc07bf5f46d70290c2e347b30b605b8f1bb9660e0 (diff)
downloadraptor-ee55e8df181cc0f0950655a1d79f505857f7215d.tar.gz
Casts for C++
Diffstat (limited to 'examples')
-rw-r--r--examples/grapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/grapper.c b/examples/grapper.c
index 4db8811b..58e341b6 100644
--- a/examples/grapper.c
+++ b/examples/grapper.c
@@ -462,7 +462,7 @@ grapper_model_parse(grapper_state *state)
for(i = 0; i <= RAPTOR_OPTION_LAST; i++) {
if(state->options_set[i])
- raptor_parser_set_option(rdf_parser, i, NULL, state->options[i]);
+ raptor_parser_set_option(rdf_parser, (raptor_option)i, NULL, state->options[i]);
}
raptor_world_set_log_handler(state->world, state, grapper_model_log_handler);