From 84095911ef9c859b7e2bc3bf1e97051e2c4b78d6 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Mon, 24 Sep 2018 14:07:51 +0200 Subject: [PATCH] fix compiler warning --- lib/Basics/socket-utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {