]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IpSecDxe/Ikev2/Payload.c
Update network stack code to use StrnCpy instead of StrCpy.
[mirror_edk2.git] / NetworkPkg / IpSecDxe / Ikev2 / Payload.c
index c1e134804c34f4ca2e4dd2def3ef7d9e606aed1c..6a2fdb83f3e84daf64f5d6cf2b24fdc8fd3f02ed 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The implementation of Payloads Creation.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -1393,7 +1393,7 @@ Ikev2ParserNotifyCookiePayload (
 \r
   CopyMem (\r
     IkeSaSession->NCookie,\r
-    NotifyPayload + sizeof (IKEV2_NOTIFY),\r
+    (UINT8 *)NotifyPayload + sizeof (IKEV2_NOTIFY),\r
     NotifyDataSize\r
     );\r
 \r