diff options
author | David Robillard <d@drobilla.net> | 2011-04-23 21:27:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-23 21:27:56 +0000 |
commit | 12b03d5fc8c273544a34d77d442428003818ccc6 (patch) | |
tree | c101de300ba7baa814409fecbb5ea988650d71ef /src | |
parent | 2cb85fe854eec9063a59c8cda7c38114c15c5e07 (diff) | |
download | lilv-12b03d5fc8c273544a34d77d442428003818ccc6.tar.gz lilv-12b03d5fc8c273544a34d77d442428003818ccc6.tar.bz2 lilv-12b03d5fc8c273544a34d77d442428003818ccc6.zip |
Improve node struct alignment
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3196 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |