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

Vinod Koul vinod.koul at intel.com
Thu Feb 21 11:21:58 CET 2013


On Mon, Feb 18, 2013 at 07:45:12PM +0530, Vinod Koul wrote:
> as we never expect this to be negative
> 
> Signed-off-by: Vinod Koul <vinod.koul at intel.com>
Applied, all...

> ---
>  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