summaryrefslogtreecommitdiffstats
path: root/test/trefer.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-08-17 20:05:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-08-17 20:05:27 (GMT)
commit308c378ccd9310b19c12d524d123cf5d352b6260 (patch)
tree69a4527bd8f8777151cd71832ecbc6e802cc0171 /test/trefer.c
parentd663d78cd274a48b702a2d3ce17fa6bb01be1ae1 (diff)
downloadhdf5-308c378ccd9310b19c12d524d123cf5d352b6260.zip
hdf5-308c378ccd9310b19c12d524d123cf5d352b6260.tar.gz
hdf5-308c378ccd9310b19c12d524d123cf5d352b6260.tar.bz2
[svn-r24020] Description:
Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
Diffstat (limited to 'test/trefer.c')
-rw-r--r--test/trefer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/trefer.c b/test/trefer.c
index 53f7b92..9031fdb 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -514,7 +514,7 @@ test_reference_region(void)
hsize_t high[SPACE2_RANK]; /* Selection bounds */
hdset_reg_ref_t *wbuf, /* buffer to write to disk */
*rbuf; /* buffer read from disk */
- hdset_reg_ref_t nvrbuf[3]={0,101,1000000000}; /* buffer with non-valid refs */
+ hdset_reg_ref_t nvrbuf[3]={{0},{101},{1000000000}}; /* buffer with non-valid refs */
uint8_t *dwbuf, /* Buffer for writing numeric data to disk */
*drbuf; /* Buffer for reading numeric data from disk */
uint8_t *tu8; /* Temporary pointer to uint8 data */