commit | e9cc96891b52812b81d1ac7a319f3ba8bc1ccd4f | [log] [tgz] |
---|---|---|
author | Wind Yuan <feng.yuan@intel.com> | Tue Feb 10 17:39:48 2015 +0800 |
committer | Wind Yuan <feng.yuan@intel.com> | Tue Feb 10 17:39:48 2015 +0800 |
tree | 8a0332c11190394d42050fc01adbcdff2dc9c61a | |
parent | e999ccb9073d21907e62b212e5fd7dd7fe3d7ad5 [diff] |
v4l2_buffer_proxy: fix data type of get_v4l2_mem_type
diff --git a/xcore/v4l2_buffer_proxy.h b/xcore/v4l2_buffer_proxy.h index 7031b6f..e5495ef 100644 --- a/xcore/v4l2_buffer_proxy.h +++ b/xcore/v4l2_buffer_proxy.h
@@ -86,8 +86,8 @@ return get_v4l2_buf().index; } - int get_v4l2_mem_type () { - return get_v4l2_buf().memory; + enum v4l2_memory get_v4l2_mem_type () { + return (enum v4l2_memory)(get_v4l2_buf().memory); } int get_v4l2_buf_length () {