public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build warning
@ 2016-12-22  1:31 Hao Wu
  2016-12-22  3:28 ` Gao, Liming
  0 siblings, 1 reply; 2+ messages in thread
From: Hao Wu @ 2016-12-22  1:31 UTC (permalink / raw)
  To: edk2-devel; +Cc: Hao Wu, Liming Gao, Yonghong Zhu

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
---
 BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {
-- 
1.9.5.msysgit.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build warning
  2016-12-22  1:31 [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build warning Hao Wu
@ 2016-12-22  3:28 ` Gao, Liming
  0 siblings, 0 replies; 2+ messages in thread
From: Gao, Liming @ 2016-12-22  3:28 UTC (permalink / raw)
  To: Wu, Hao A, edk2-devel@lists.01.org

Reviewed-by: Liming Gao <liming.gao@intel.com>

> -----Original Message-----
> From: Wu, Hao A
> Sent: Thursday, December 22, 2016 9:32 AM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A <hao.a.wu@intel.com>; Gao, Liming <liming.gao@intel.com>;
> Zhu, Yonghong <yonghong.zhu@intel.com>
> Subject: [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build
> warning
> 
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Yonghong Zhu <yonghong.zhu@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Hao Wu <hao.a.wu@intel.com>
> ---
>  BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 {
> --
> 1.9.5.msysgit.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-22  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22  1:31 [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build warning Hao Wu
2016-12-22  3:28 ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox