From 5b26a7b38f5eacab94ffc56c123c01ad6c3788dc Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 23 Aug 2014 17:50:11 -0600 Subject: sv.c: Silence VMS compiler warning The result of this must be at least 0 as the type is unsigned, so the compiler gives a warning. --- sv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sv.c b/sv.c index 761addb42b..fd7e9f57a5 100644 --- a/sv.c +++ b/sv.c @@ -3495,7 +3495,7 @@ must_be_utf8: * set so starts from there. Otherwise, can use memory copy to * get up to where we are now, and then start from here */ - if (invariant_head <= 0) { + if (invariant_head == 0) { d = dst; } else { Copy(s, dst, invariant_head, char); -- cgit v1.2.1