From 7191a18b9b944a8a9941649482eeed5c0007d624 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Mon, 18 Feb 2013 16:39:04 +0530 Subject: [PATCH] compress: make variable 'running' as unsigned as we never expect this to be negative Signed-off-by: Vinod Koul --- compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress.c b/compress.c index 19d618a..a8964f4 100644 --- a/compress.c +++ b/compress.c @@ -83,7 +83,7 @@ struct compress { __u64 buffer_size; char error[COMPR_ERR_MAX]; struct compr_config *config; - int running:1; + unsigned int running:1; }; static int oops(struct compress *compress, int e, const char *fmt, ...) -- 2.47.3