From 59e77405df9a3af3ccfdd9b3d26f6a43ef922dc5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Mar 2024 09:36:50 -0400 Subject: Use unsigned constants for all explicit enumerator values --- include/serd/serd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/serd/serd.h b/include/serd/serd.h index 498c1dab..1f84950b 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -75,10 +75,10 @@ extern "C" { /// RDF syntax type typedef enum { - SERD_TURTLE = 1, ///< Terse triples http://www.w3.org/TR/turtle - SERD_NTRIPLES = 2, ///< Line-based triples http://www.w3.org/TR/n-triples/ - SERD_NQUADS = 3, ///< Line-based quads http://www.w3.org/TR/n-quads/ - SERD_TRIG = 4, ///< Terse quads http://www.w3.org/TR/trig/ + SERD_TURTLE = 1U, ///< Terse triples http://www.w3.org/TR/turtle + SERD_NTRIPLES = 2U, ///< Line-based triples http://www.w3.org/TR/n-triples/ + SERD_NQUADS = 3U, ///< Line-based quads http://www.w3.org/TR/n-quads/ + SERD_TRIG = 4U, ///< Terse quads http://www.w3.org/TR/trig/ } SerdSyntax; /// Flags indicating certain string properties relevant to serialisation -- cgit v1.2.1