Implementation of reading and writing operations on the NVRAM device\r
attached to a network interface.\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR> \r
-All rights reserved. This program and the accompanying materials are licensed \r
+Copyright (c) 2004 - 2009, 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
Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED;\r
Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED;\r
\r
- Snp->Cdb.DBsize = sizeof (PXE_DB_NVDATA);\r
+ Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_NVDATA);\r
Snp->Cdb.DBaddr = (UINT64)(UINTN) Db;\r
\r
Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE;\r