Commit 34ce7c8f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

OCD for PC-Lint-Plus

parent 9ad80c88
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment