From 9ad2e0bdec306d80357a642271fbde1f8f02ec45 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Apr 2011 21:27:52 +0000 Subject: Improve node struct alignment git-svn-id: http://svn.drobilla.net/sord/trunk@84 3d64ff67-21c5-427c-a301-fe4f08042e5a --- sord/sordmm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sord') diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index e643207..e56cce3 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -58,7 +58,7 @@ public: static inline SerdNode string_to_node(SerdType type, const std::string& s) { SerdNode ret = { - type, s.length() + 1, s.length(), (const uint8_t*)s.c_str() }; + (const uint8_t*)s.c_str(), s.length() + 1, s.length(), type }; return ret; } -- cgit v1.2.1