summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-12-22 09:17:27 +0800
committerHao Wu <hao.a.wu@intel.com>2016-12-23 14:38:44 +0800
commit0a64f49fde09928b6061543b08e6da195e2abfbd (patch)
treea21b2b3796baf4aa8ce9468f1689dfa318b724ab /BaseTools/Source
parenta3850a1b45287d344d917ec7e0c09c4cbcaafdff (diff)
downloadedk2-platforms-0a64f49fde09928b6061543b08e6da195e2abfbd.tar.xz
BaseTools/Pccts: Resolve GCC sting format mismatch build warning
https://bugzilla.tianocore.org/show_bug.cgi?id=282 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c b/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c
index eb6fba7393..6b9b510b8a 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c
+++ b/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c
@@ -554,7 +554,7 @@ register char *s;
static set a;
register unsigned *p, *endp;
- set_new(a, strlen(s));
+ set_new(a, (unsigned) strlen(s));
p = a.setword;
endp = &(a.setword[a.n]);
do {