projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bd4c89
)
Eliminate 'conversion from size_t to int' MSVC warning in cordprnt.c
author
Ivan Maidanski
<ivmai@mail.ru>
Wed, 21 Aug 2019 08:13:36 +0000
(11:13 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Wed, 21 Aug 2019 08:13:36 +0000
(11:13 +0300)
* cord/cordprnt.c (ec_len): Cast the expression to int explicitly.
cord/cordprnt.c
patch
|
blob
|
history
diff --git
a/cord/cordprnt.c
b/cord/cordprnt.c
index
aa745ad
..
7eaf372
100644
(file)
--- 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. */