diff options
Diffstat (limited to 'libc/src/string/memcmp.cpp')
| -rw-r--r-- | libc/src/string/memcmp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/string/memcmp.cpp b/libc/src/string/memcmp.cpp index 357b57d1dbea..292525e17dad 100644 --- a/libc/src/string/memcmp.cpp +++ b/libc/src/string/memcmp.cpp @@ -15,8 +15,8 @@ namespace __llvm_libc { LLVM_LIBC_FUNCTION(int, memcmp, (const void *lhs, const void *rhs, size_t count)) { - return static_cast<int>(inline_memcmp(static_cast<const char *>(lhs), - static_cast<const char *>(rhs), count)); + return inline_memcmp(static_cast<const char *>(lhs), + static_cast<const char *>(rhs), count); } } // namespace __llvm_libc |
