]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
VfrCompile: fix invalid comparison between pointer and integer
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / VfrUtilityLib.cpp
index 3ca57ed74184c41645cd1c7a60c5ab2e1a2ac4eb..2f9797518c324af135622e4f0e062837adb8b91e 100644 (file)
@@ -3372,7 +3372,7 @@ CVfrStringDB::GetVarStoreNameFormStringId (
   UINT8       BlockType;\r
   EFI_HII_STRING_PACKAGE_HDR *PkgHeader;\r
   \r
-  if (mStringFileName == '\0' ) {\r
+  if (mStringFileName == NULL) {\r
     return NULL;\r
   }\r
 \r