Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdfp-pipe
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvdfp-pipe
Commits
3084655d
Unverified
Commit
3084655d
authored
Jan 01, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No arithmatic on void pointer - found by Flexelint
parent
03b3c2fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vdfp_pipe.c
src/vdfp_pipe.c
+3
-1
No files found.
src/vdfp_pipe.c
View file @
3084655d
...
...
@@ -372,7 +372,7 @@ check_pid(struct vdp_state *state, struct vsl_log *vsl, int options)
static
int
v_matchproto_
(
vdp_bytes_f
)
vdp_bytes
(
struct
vdp_ctx
*
ctx
,
enum
vdp_action
act
,
void
**
priv
,
const
void
*
ptr
,
ssize_t
len
)
const
void
*
ptr
a
,
ssize_t
len
)
{
struct
vdp_state
*
state
;
struct
pollfd
*
fds
;
...
...
@@ -380,8 +380,10 @@ vdp_bytes(struct vdp_ctx *ctx, enum vdp_action act, void **priv,
ssize_t
nbytes
;
struct
VPFX
(
pipe_vdp
)
*
obj
;
enum
vdp_action
act_bytes
=
VDP_FLUSH
;
const
char
*
ptr
;
CHECK_OBJ_NOTNULL
(
ctx
,
VDP_CTX_MAGIC
);
ptr
=
ptra
;
assert
(
len
>=
0
);
AN
(
priv
);
CAST_OBJ_NOTNULL
(
state
,
*
priv
,
PIPE_VDP_STATE_MAGIC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment