From: Mark Andrews Date: Tue, 17 May 2016 07:22:51 +0000 (+1000) Subject: explict conversion X-Git-Tag: v9.11.0a2~12 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4f200033d180c118eca51ae7fc8ec14cc612bd66;p=thirdparty%2Fbind9.git explict conversion --- diff --git a/bin/named/client.c b/bin/named/client.c index be2592537d8..ba0b05231d5 100644 --- a/bin/named/client.c +++ b/bin/named/client.c @@ -1922,7 +1922,7 @@ process_ecs(ns_client_t *client, isc_buffer_t *buf, size_t optlen) { * If we have already seen a ECS option skip this ECS option. */ if ((client->attributes & NS_CLIENTATTR_HAVEECS) != 0) { - isc_buffer_forward(buf, optlen); + isc_buffer_forward(buf, (unsigned int)optlen); return (ISC_R_SUCCESS); }