Commit 65eb1db4 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] Add std:: to memcmp

parent 13674dda
......@@ -130,7 +130,7 @@ int compareCharStrings(const detail::CharString& self,
const size_t self_len = self[0];
const size_t other_len = other[0];
const size_t cmp_len = std::min(self_len, other_len);
const int cmp = memcmp(&self[1], &other[1], cmp_len);
const int cmp = std::memcmp(&self[1], &other[1], cmp_len);
if (cmp < 0) {
return (-1);
} else if (cmp > 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment