From 172a81db90b9b5a499fb10f1b6334dee32b24d88 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 Jan 2008 19:15:39 +0000 Subject: Silence a compiler warning. --- Src/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/builtin.c b/Src/builtin.c index 299ad3758..048d6c625 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4970,7 +4970,7 @@ bin_read(char *name, char **args, Options ops, UNUSED(int func)) } else if (ret == 0) /* handle null as normal char */ ret = 1; - else if (ret > val) { + else if (ret > (size_t)val) { /* Some mbrlen()s return the full char len */ ret = val; } -- cgit 1.4.1