]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibSse2/ScanMem8Wrapper.c
Fix GCC build break.
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibSse2 / ScanMem8Wrapper.c
index 215cbc510efc48cd3ee8841cc0eef4b1ededdb02..16fda04d749f720c5839e7ca8172b56ba2e5bf0d 100644 (file)
@@ -1,6 +1,16 @@
 /** @file\r
   ScanMem8() implementation.\r
 \r
+  The following BaseMemoryLib instances contain the same copy of this file:\r
+    BaseMemoryLib\r
+    BaseMemoryLibMmx\r
+    BaseMemoryLibSse2\r
+    BaseMemoryLibRepStr\r
+    BaseMemoryLibOptDxe\r
+    BaseMemoryLibOptPei\r
+    PeiMemoryLib\r
+    DxeMemoryLib\r
+\r
   Copyright (c) 2006, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\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
 \r
-  The following BaseMemoryLib instances share the same version of this file:\r
-\r
-    BaseMemoryLib\r
-    BaseMemoryLibMmx\r
-    BaseMemoryLibSse2\r
-    BaseMemoryLibRepStr\r
-    PeiMemoryLib\r
-    DxeMemoryLib\r
-\r
 **/\r
 \r
 \r
@@ -52,7 +53,7 @@ ScanMem8 (
   IN UINT8       Value\r
   )\r
 {\r
-  if (0 == Length) {\r
+  if (Length == 0) {\r
     return NULL;\r
   }\r
   ASSERT (Buffer != NULL);\r