diff options
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sordmm.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index 10e2a68..bc0c456 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -378,8 +378,7 @@ inline float Node::to_float() const { assert(is_float()); - char* endptr; - return serd_strtod((const char*)sord_node_get_string(_c_obj), &endptr); + return serd_strtod((const char*)sord_node_get_string(_c_obj), NULL); } inline bool |