From af2ed61b280e1ec169aba2bcb9df30ac76b006d2 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 16 Jun 2010 16:40:34 +0200 Subject: [PATCH] oconfig.c: Fix compiler warning. --- oconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2