diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2019-08-21 11:13:36 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2019-08-21 11:13:36 +0300 |
commit | d8e2aa0c53eaf00f973390be10a63a23f95d343d (patch) | |
tree | f7baeb7cde693c9cf0ee7c0815cd898884b2d7dc /cord | |
parent | 5bd4c897a97015c9feeb0af84febd2ed7261ee96 (diff) | |
download | bdwgc-d8e2aa0c53eaf00f973390be10a63a23f95d343d.tar.gz |
Eliminate 'conversion from size_t to int' MSVC warning in cordprnt.c
* cord/cordprnt.c (ec_len): Cast the expression to int explicitly.
Diffstat (limited to 'cord')
-rw-r--r-- | cord/cordprnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |