From 12b03d5fc8c273544a34d77d442428003818ccc6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Apr 2011 21:27:56 +0000 Subject: Improve node struct alignment git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3196 a436a847-0d15-0410-975c-d299462d15a1 --- src/util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util.c b/src/util.c index d24caae..c3cd23c 100644 --- a/src/util.c +++ b/src/util.c @@ -115,8 +115,9 @@ uint8_t* slv2_qname_expand(SLV2Plugin p, const char* qname) { const size_t qname_len = strlen(qname); - SerdNode qname_node = { SERD_CURIE, qname_len + 1, qname_len, - (const uint8_t*)qname }; + SerdNode qname_node = { (const uint8_t*)qname, + qname_len + 1, qname_len, + SERD_CURIE }; SerdChunk uri_prefix; SerdChunk uri_suffix; -- cgit v1.2.1