diff --git a/lib/Basics/socket-utils.cpp b/lib/Basics/socket-utils.cpp index ac9d11ac03..40b15d7985 100644 --- a/lib/Basics/socket-utils.cpp +++ b/lib/Basics/socket-utils.cpp @@ -321,7 +321,7 @@ int TRI_InetPton6(char const* src, unsigned char* dst) { * Since some memmove()'s erroneously fail to handle * overlapping regions, we'll do the shift by hand. */ - int const n = (int const)(tp - colonp); + int const n = (int)(tp - colonp); int i; if (tp == endp) {