summaryrefslogtreecommitdiff
path: root/cord
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2019-08-21 11:13:36 +0300
committerIvan Maidanski <ivmai@mail.ru>2019-08-21 11:13:36 +0300
commitd8e2aa0c53eaf00f973390be10a63a23f95d343d (patch)
treef7baeb7cde693c9cf0ee7c0815cd898884b2d7dc /cord
parent5bd4c897a97015c9feeb0af84febd2ed7261ee96 (diff)
downloadbdwgc-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.c2
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. */