summaryrefslogtreecommitdiffstats
path: root/test/tgenprop.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2002-05-02 19:11:20 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2002-05-02 19:11:20 (GMT)
commit01d25de8a7c3846f69510496dc456704fa43f586 (patch)
tree9b25ba93edd8915178366820691f65ab703667c7 /test/tgenprop.c
parent84d5daad4faa490f541aa87aa2b8ce8dd047cfce (diff)
downloadhdf5-01d25de8a7c3846f69510496dc456704fa43f586.zip
hdf5-01d25de8a7c3846f69510496dc456704fa43f586.tar.gz
hdf5-01d25de8a7c3846f69510496dc456704fa43f586.tar.bz2
[svn-r5327]
Purpose: code clean-up,for erasing windows warnings Description: Solution: Platforms tested: linux 2.2.18
Diffstat (limited to 'test/tgenprop.c')
-rw-r--r--test/tgenprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tgenprop.c b/test/tgenprop.c
index 50b528e..5262d40 100644
--- a/test/tgenprop.c
+++ b/test/tgenprop.c
@@ -40,7 +40,7 @@ int prop1_def=10; /* Property 1 default value */
#define PROP1_DEF_VALUE (&prop1_def)
#define PROP2_NAME "Property 2"
-float prop2_def=3.14; /* Property 2 default value */
+float prop2_def=(float)3.14; /* Property 2 default value */
#define PROP2_SIZE sizeof(prop2_def)
#define PROP2_DEF_VALUE (&prop2_def)