summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a6beaf)
raw | patch | inline | side by side (parent: 7a6beaf)
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 629775ab8c44dd55de5d930d0189168546d455c3..b8087dddc708108fee532857aee1a05e2e770c20 100644 (file)
--- a/oconfig.c
+++ b/oconfig.c
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 {