diff mbox

[2/3,media] vb2: use unsigned int for the `mapped' bitfield

Message ID 1301873937-14146-2-git-send-email-pawel@osciak.com (mailing list archive)
State RFC
Headers show

Commit Message

Pawel Osciak April 3, 2011, 11:38 p.m. UTC
Signed-off-by: Pawel Osciak <pawel@osciak.com>
Reported-by: David Alan Gilbert <linux@treblig.org>
---
 include/media/videobuf2-core.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index 4c1e91f..f3bdbb2 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -83,7 +83,7 @@  struct vb2_mem_ops {
 
 struct vb2_plane {
 	void		*mem_priv;
-	int		mapped:1;
+	unsigned int	mapped:1;
 };
 
 /**