From: Vinod Koul Date: Mon, 18 Feb 2013 11:09:04 +0000 (+0530) Subject: compress: make variable 'running' as unsigned X-Git-Tag: v0.1.0~18 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7191a18b9b944a8a9941649482eeed5c0007d624;p=tinycompress.git compress: make variable 'running' as unsigned as we never expect this to be negative Signed-off-by: Vinod Koul --- 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, ...)