From d8e2aa0c53eaf00f973390be10a63a23f95d343d Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 21 Aug 2019 11:13:36 +0300 Subject: [PATCH] Eliminate 'conversion from size_t to int' MSVC warning in cordprnt.c * cord/cordprnt.c (ec_len): Cast the expression to int explicitly. --- cord/cordprnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cord/cordprnt.c b/cord/cordprnt.c index aa745ad9..7eaf3723 100644 --- a/cord/cordprnt.c +++ b/cord/cordprnt.c @@ -52,7 +52,7 @@ static int ec_len(CORD_ec x) { - return(CORD_len(x[0].ec_cord) + (x[0].ec_bufptr - x[0].ec_buf)); + return (int)(CORD_len(x[0].ec_cord) + (x[0].ec_bufptr - x[0].ec_buf)); } /* Possible nonumeric precision values. */ -- 2.40.0