]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/SnpDxe/Statistics.c
BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / SnpDxe / Statistics.c
index b5ca994fe761c91e2622bcf5d1abbbe7ccc6a295..480e26178057a53cbb0b74590bf91574511c850a 100644 (file)
@@ -2,13 +2,7 @@
     Implementation of collecting the statistics on a network interface.\r
 \r
 Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed\r
-and made available under the terms and conditions of the BSD License which\r
-accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -133,7 +127,7 @@ SnpUndi32Statistics (
     Db                = Snp->Db;\r
   } else {\r
     Snp->Cdb.OpFlags                = PXE_OPFLAGS_STATISTICS_READ;\r
-    Snp->Cdb.DBsize                 = sizeof (PXE_DB_STATISTICS);\r
+    Snp->Cdb.DBsize                 = (UINT16) sizeof (PXE_DB_STATISTICS);\r
     Snp->Cdb.DBaddr                 = (UINT64)(UINTN) (Db = Snp->Db);\r
   }\r
   //\r