All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: Vinod Koul <vinod.koul@intel.com>
Subject: [PATCH 1/4] compress: make variable 'running' as unsigned
Date: Mon, 18 Feb 2013 19:45:12 +0530	[thread overview]
Message-ID: <1361196915-12121-1-git-send-email-vinod.koul@intel.com> (raw)

as we never expect this to be negative

Signed-off-by: Vinod Koul <vinod.koul@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

             reply	other threads:[~2013-02-18 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 14:15 Vinod Koul [this message]
2013-02-18 14:15 ` [PATCH 2/4] compress: remove unused variables Vinod Koul
2013-02-18 14:15 ` [PATCH 3/4] compress: cache the config values passed Vinod Koul
2013-02-18 14:15 ` [PATCH 4/4] compress: fix arithmetic exception in compress_get_hpointer Vinod Koul
2013-02-21 10:21 ` [PATCH 1/4] compress: make variable 'running' as unsigned Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361196915-12121-1-git-send-email-vinod.koul@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.