[alsa-devel] [PATCH 1/4] compress: make variable 'running' as unsigned

Vinod Koul vinod.koul at intel.com
Mon Feb 18 15:15:12 CET 2013


as we never expect this to be negative

Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
 compress.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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, ...)
-- 
1.7.0.4



More information about the Alsa-devel mailing list