diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 02:13:18 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 02:13:18 (GMT) |
commit | 8cb45292110453354afd78b7cf1da50db2341014 (patch) | |
tree | 1230c02adefa40290545a129aacd670a6c227bbd /src/H5system.c | |
parent | f116545ce465181928ca97214b9cfa87092a3ee9 (diff) | |
download | hdf5-8cb45292110453354afd78b7cf1da50db2341014.zip hdf5-8cb45292110453354afd78b7cf1da50db2341014.tar.gz hdf5-8cb45292110453354afd78b7cf1da50db2341014.tar.bz2 |
Fixed misc Warnings flagged by VS2017.
Diffstat (limited to 'src/H5system.c')
-rw-r--r-- | src/H5system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c index a1cdf19..a8726c2 100644 --- a/src/H5system.c +++ b/src/H5system.c @@ -977,7 +977,7 @@ Wround(double arg) float Wroundf(float arg) { - return arg < 0.0F ? HDceil(arg - 0.5F) : HDfloor(arg + 0.5F); + return (float)(arg < 0.0F ? HDceil(arg - 0.5F) : HDfloor(arg + 0.5F)); } #endif /* H5_HAVE_WIN32_API */ |