|
@@ -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) {
|