Correct strnicmp to strncmp
authorlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 8 Sep 2009 01:54:55 +0000 (01:54 +0000)
committerlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 8 Sep 2009 01:54:55 +0000 (01:54 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1698 7335b38e-4728-0410-8992-fb3ffe349368

Source/C/VfrCompile/VfrError.cpp

index 4e7a4f6..963bd2d 100644 (file)
@@ -202,7 +202,7 @@ CVfrErrorHandle::PrintMsg (
   CHAR8                  *FileName = NULL;\r
   UINT32                 FileLine;\r
   \r
-  if (strnicmp ("Warning", MsgType, strlen ("Warning")) == 0) {\r
+  if (strncmp ("Warning", MsgType, strlen ("Warning")) == 0) {\r
     VerboseMsg (ErrorMsg);\r
     return;\r
   }\r