]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
explict conversion
authorMark Andrews <marka@isc.org>
Tue, 17 May 2016 07:22:51 +0000 (17:22 +1000)
committerMark Andrews <marka@isc.org>
Tue, 17 May 2016 07:22:51 +0000 (17:22 +1000)
bin/named/client.c

index be2592537d8bb29874ee55b28c333ff12e8b4160..ba0b05231d581cb9b5e508b70064608ef914a687 100644 (file)
@@ -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);
        }