Message ID | 20190417083901.16905-2-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] ucfwhandler: Fix sign-compare warnings | expand |
On 17/04/19 10:39, Christian Storm wrote: > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > mongoose/mongoose_interface.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c > index 2ef3f6d..9f30e00 100644 > --- a/mongoose/mongoose_interface.c > +++ b/mongoose/mongoose_interface.c > @@ -196,10 +196,10 @@ static void *broadcast_message_thread(void *data) > > static void *broadcast_progress_thread(void *data) > { > - int status = -1; > - int source = -1; > - int step = 0; > - int percent = 0; > + RECOVERY_STATUS status = -1; > + sourcetype source = -1; > + unsigned int step = 0; > + unsigned int percent = 0; > int fd = -1; > > for (;;) { > Acked-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 2ef3f6d..9f30e00 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -196,10 +196,10 @@ static void *broadcast_message_thread(void *data) static void *broadcast_progress_thread(void *data) { - int status = -1; - int source = -1; - int step = 0; - int percent = 0; + RECOVERY_STATUS status = -1; + sourcetype source = -1; + unsigned int step = 0; + unsigned int percent = 0; int fd = -1; for (;;) {
Signed-off-by: Christian Storm <christian.storm@siemens.com> --- mongoose/mongoose_interface.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)