projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6beaf
)
oconfig.c: Fix compiler warning.
author
Florian Forster
<ff@octo.it>
Wed, 16 Jun 2010 14:40:34 +0000
(16:40 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 16 Jun 2010 14:40:34 +0000
(16:40 +0200)
oconfig.c
patch
|
blob
|
history
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));
- if ((status < 0) || (
status
>= sizeof (file))) {
+ if ((status < 0) || (
((size_t) status)
>= sizeof (file))) {
c_file = "<unknown>";
}
else {