From: Oliver Kurth Date: Mon, 15 Apr 2019 18:32:59 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4a0d4c8137cdfbee073b456c71b731fa21e6ead;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/modules/shared/vmxnet/eth_public.h b/open-vm-tools/modules/shared/vmxnet/eth_public.h index 404c0f489..24e21ea9d 100644 --- a/open-vm-tools/modules/shared/vmxnet/eth_public.h +++ b/open-vm-tools/modules/shared/vmxnet/eth_public.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2005-2014,2017-2018 VMware, Inc. All rights reserved. + * Copyright (C) 2005-2014,2017-2019 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -829,7 +829,7 @@ Eth_FillVlanTag(Eth_802_1pq_Tag *tag, ASSERT(priority < 8); tag->typeNBO = ETH_TYPE_802_1PQ_NBO; - tag->priority = priority; + tag->priority = (uint16)priority; tag->canonical = 0; // bit order (should be 0) tag->vidHi = vlanId >> 8; tag->vidLo = vlanId & 0xff; @@ -934,7 +934,7 @@ Eth_FrameGetPriority(const Eth_Header *eh) { ASSERT(Eth_IsFrameTagged(eh)); - return eh->e802_1pq.tag.priority; + return (uint8)eh->e802_1pq.tag.priority; }