summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sord/sordmm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 75e4a21..6e92d37 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -67,7 +67,7 @@ public:
static inline SerdNode string_to_node(SerdType type, const std::string& s) {
SerdNode ret = {
- (const uint8_t*)s.c_str(), s.length() + 1, s.length(), 0, type };
+ (const uint8_t*)s.c_str(), s.length(), s.length(), 0, type };
return ret;
}