From: Florian Forster Date: Wed, 16 Jun 2010 14:40:34 +0000 (+0200) Subject: oconfig.c: Fix compiler warning. X-Git-Tag: v4.0.0~249 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=af2ed61b280e1ec169aba2bcb9df30ac76b006d2;p=collection4.git oconfig.c: Fix compiler warning. --- diff --git a/oconfig.c b/oconfig.c index 629775a..b8087dd 100644 --- a/oconfig.c +++ b/oconfig.c @@ -48,7 +48,7 @@ oconfig_item_t *oconfig_parse_fh (FILE *fh) status = snprintf (file, sizeof (file), "", fileno (fh)); - if ((status < 0) || (status >= sizeof (file))) { + if ((status < 0) || (((size_t) status) >= sizeof (file))) { c_file = ""; } else {