projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66aba7
)
v4l2-compliance: fix function pointer prototype.
author
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 31 Mar 2014 15:59:13 +0000
(17:59 +0200)
committer
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 31 Mar 2014 15:59:13 +0000
(17:59 +0200)
There was a conflict between the mmap function pointer prototype of
struct v4l_fd and the actual function used. Make sure it is in sync
with the prototype of v4l2_mmap.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l-helpers.h
patch
|
blob
|
history
diff --git
a/utils/v4l2-compliance/v4l-helpers.h
b/utils/v4l2-compliance/v4l-helpers.h
index
b2ce6c0
..
48ea602
100644
(file)
--- a/
utils/v4l2-compliance/v4l-helpers.h
+++ b/
utils/v4l2-compliance/v4l-helpers.h
@@
-10,7
+10,7
@@
struct v4l_fd {
int fd;
int (*ioctl)(int fd, unsigned long cmd, ...);
void *(*mmap)(void *addr, size_t length, int prot, int flags,
- int fd,
off
_t offset);
+ int fd,
int64
_t offset);
int (*munmap)(void *addr, size_t length);
};