summaryrefslogtreecommitdiffstats
path: root/test/dtransform.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-16 13:54:23 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-16 13:54:23 (GMT)
commit2385b2b0ad832825bd9009237149e1581326c044 (patch)
treeff68ed2b81beec4e05f1c7512fca9636536ee85d /test/dtransform.c
parentcc0165a973d17386cd4983ac1d0394ad4feb8034 (diff)
downloadhdf5-2385b2b0ad832825bd9009237149e1581326c044.zip
hdf5-2385b2b0ad832825bd9009237149e1581326c044.tar.gz
hdf5-2385b2b0ad832825bd9009237149e1581326c044.tar.bz2
[svn-r27800] Minor warning fixes in the library tests.
Tested on: jam (too minor for h5committest)
Diffstat (limited to 'test/dtransform.c')
-rw-r--r--test/dtransform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtransform.c b/test/dtransform.c
index 4adbaf5..2769771 100644
--- a/test/dtransform.c
+++ b/test/dtransform.c
@@ -467,7 +467,7 @@ test_poly(const hid_t dxpl_id_polynomial)
for(row = 0; row < ROWS; row++)
for(col = 0; col < COLS; col++) {
windchillC = (int) ((5.0f / 9.0f) * (windchillFfloat[row][col] - 32));
- polyflres[row][col] = (float) ((2.0f + windchillC) * ((windchillC - 8.0f) / 2.0f));
+ polyflres[row][col] = ((2.0f + (float)windchillC) * (((float)windchillC - 8.0f) / 2.0f));
}
TESTING("data transform, polynomial transform (int->float)")