summaryrefslogtreecommitdiffstats
path: root/examples/h5_vds-simpleIO.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-04-22 13:29:03 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-04-22 13:29:03 (GMT)
commita2475e33a2e79a34405ed0f3c210ae2713105178 (patch)
tree9302faf2673a0eceadbad76c7da57111d23c1b49 /examples/h5_vds-simpleIO.c
parent0a3151792fed6457cbd8092018b891f7f2b9653e (diff)
downloadhdf5-a2475e33a2e79a34405ed0f3c210ae2713105178.zip
hdf5-a2475e33a2e79a34405ed0f3c210ae2713105178.tar.gz
hdf5-a2475e33a2e79a34405ed0f3c210ae2713105178.tar.bz2
[svn-r26879] Removed printf size_t warnings from VDS examples.
size_t parameters are now printed using lu after being cast to unsigned long (safe for C89). Tested on: 64-bit linux VM
Diffstat (limited to 'examples/h5_vds-simpleIO.c')
-rw-r--r--examples/h5_vds-simpleIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_vds-simpleIO.c b/examples/h5_vds-simpleIO.c
index e4b0018..795a87c 100644
--- a/examples/h5_vds-simpleIO.c
+++ b/examples/h5_vds-simpleIO.c
@@ -116,7 +116,7 @@ main (void)
* Find the number of mappings.
*/
status = H5Pget_virtual_count (dcpl, &num_map);
- printf(" Number of mappings is %d\n", num_map);
+ printf(" Number of mappings is %lu\n", (unsigned long)num_map);
/*
* Get mapping parameters for each mapping.