summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
Diffstat (limited to 'c++')
-rw-r--r--c++/test/th5s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp
index 8ea38ad..eac6703 100644
--- a/c++/test/th5s.cpp
+++ b/c++/test/th5s.cpp
@@ -77,7 +77,7 @@ struct space4_struct {
unsigned u;
float f;
char c2;
- } space4_data={'v',987123,-3.14,'g'}; /* Test data for 4th dataspace */
+ } space4_data={'v',987123,(float)-3.14,'g'}; /* Test data for 4th dataspace */
/* Null dataspace */
int space5_data = 7;