Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
34ce7c8f
Commit
34ce7c8f
authored
Sep 14, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OCD for PC-Lint-Plus
parent
9ad80c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vdef.h
include/vdef.h
+2
-2
No files found.
include/vdef.h
View file @
34ce7c8f
...
...
@@ -40,7 +40,7 @@
do { \
int ibprintf; \
ibprintf = snprintf(buf, sizeof buf, fmt, __VA_ARGS__); \
assert(ibprintf >= 0 && ibprintf <
sizeof buf);
\
assert(ibprintf >= 0 && ibprintf <
(int)sizeof buf);
\
} while (0)
/* Safe printf into a fixed-size buffer */
...
...
@@ -48,7 +48,7 @@
do { \
int ivbprintf; \
ivbprintf = vsnprintf(buf, sizeof buf, fmt, ap); \
assert(ivbprintf >= 0 && ivbprintf < sizeof buf); \
assert(ivbprintf >= 0 && ivbprintf <
(int)
sizeof buf); \
} while (0)
/* Close and discard filedescriptor */
...
...
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