projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oconfig.c: Fix compiler warning.
[collection4.git]
/
oconfig.c
diff --git
a/oconfig.c
b/oconfig.c
index
629775a
..
b8087dd
100644
(file)
--- a/
oconfig.c
+++ b/
oconfig.c
@@
-48,7
+48,7
@@
oconfig_item_t *oconfig_parse_fh (FILE *fh)
status = snprintf (file, sizeof (file), "<fd#%d>", fileno (fh));
status = snprintf (file, sizeof (file), "<fd#%d>", fileno (fh));
- if ((status < 0) || (
status
>= sizeof (file))) {
+ if ((status < 0) || (
((size_t) status)
>= sizeof (file))) {
c_file = "<unknown>";
}
else {
c_file = "<unknown>";
}
else {