diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-12-22 09:17:27 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-12-23 14:38:44 +0800 |
commit | 0a64f49fde09928b6061543b08e6da195e2abfbd (patch) | |
tree | a21b2b3796baf4aa8ce9468f1689dfa318b724ab /BaseTools/Source/C/VfrCompile/Pccts | |
parent | a3850a1b45287d344d917ec7e0c09c4cbcaafdff (diff) | |
download | edk2-0a64f49fde09928b6061543b08e6da195e2abfbd.zip edk2-0a64f49fde09928b6061543b08e6da195e2abfbd.tar.gz edk2-0a64f49fde09928b6061543b08e6da195e2abfbd.tar.bz2 |
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/C/VfrCompile/Pccts')
-rw-r--r-- | BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c | 2 |
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 eb6fba7..6b9b510 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 {
|