diff options
author | Dave Beckett <dave@dajobe.org> | 2014-11-24 17:56:10 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2014-11-24 17:56:10 +0000 |
commit | c6fa6caf38656b1cc2f7e4497c17fd2d2ee417f8 (patch) | |
tree | 1990fe242467c27da34febcbe75514131db4357b /src/raptor_rdfxml.c | |
parent | 7260fed641a473f2611dbb0f048681a8e95143f0 (diff) | |
download | raptor-c6fa6caf38656b1cc2f7e4497c17fd2d2ee417f8.tar.gz |
Replace type %d (for enums) with %u in error messages (-Wformat)
Diffstat (limited to 'src/raptor_rdfxml.c')
-rw-r--r-- | src/raptor_rdfxml.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raptor_rdfxml.c b/src/raptor_rdfxml.c index a8bb2918..d1e4bb57 100644 --- a/src/raptor_rdfxml.c +++ b/src/raptor_rdfxml.c @@ -2361,7 +2361,7 @@ raptor_rdfxml_start_element_grammar(raptor_parser *rdf_parser, case RAPTOR_STATE_INVALID: default: raptor_parser_fatal_error(rdf_parser, - "%s Internal error - unexpected parser state %d - %s", + "%s Internal error - unexpected parser state %u - %s", __FUNCTION__, state, raptor_rdfxml_state_as_string(state)); finished = 1; @@ -2898,7 +2898,7 @@ raptor_rdfxml_end_element_grammar(raptor_parser *rdf_parser, case RAPTOR_RDFXML_ELEMENT_CONTENT_TYPE_LAST: default: raptor_parser_fatal_error(rdf_parser, - "%s: Internal error in state RAPTOR_STATE_PROPERTYELT - got unexpected content type %s (%d)", + "%s: Internal error in state RAPTOR_STATE_PROPERTYELT - got unexpected content type %s (%u)", __FUNCTION__, raptor_rdfxml_element_content_type_as_string(element->content_type), element->content_type); @@ -2910,7 +2910,7 @@ raptor_rdfxml_end_element_grammar(raptor_parser *rdf_parser, case RAPTOR_STATE_INVALID: default: raptor_parser_fatal_error(rdf_parser, - "%s: Internal error - unexpected parser state %d - %s", + "%s: Internal error - unexpected parser state %u - %s", __FUNCTION__, state, raptor_rdfxml_state_as_string(state)); |