diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-08-11 14:19:43 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-08-11 14:19:43 (GMT) |
commit | 2a5454616a653b9830c103be7381af28ba397a3d (patch) | |
tree | be56ce04cbbdd71f5d75868c3796a9bd974aae89 /test | |
parent | f98f792fe3da31f5a994077987dc72a8dbe2ba10 (diff) | |
download | hdf5-2a5454616a653b9830c103be7381af28ba397a3d.zip hdf5-2a5454616a653b9830c103be7381af28ba397a3d.tar.gz hdf5-2a5454616a653b9830c103be7381af28ba397a3d.tar.bz2 |
[svn-r25527] fix printf format warnings in dtypes test.
Diffstat (limited to 'test')
-rw-r--r-- | test/dtypes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index 33d2bbc..65f5f8c 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -65,7 +65,7 @@ FAIL_STACK_ERROR \ if((NMEMBS) != H5I_nmembers(H5I_DATATYPE)) { \ H5_FAILED(); \ - printf(" #dtype ids expected: %lld; found: %d\n", (long long)NMEMBS, \ + printf(" #dtype ids expected: %lld; found: %"PRId64"\n", (long long)NMEMBS, \ H5I_nmembers(H5I_DATATYPE)); \ goto error; \ } @@ -3008,7 +3008,7 @@ test_compound_16(void) if(H5Fget_obj_ids(file, H5F_OBJ_DATATYPE, (size_t)2, open_dtypes) < 0) TEST_ERROR if(open_dtypes[1]) { H5_FAILED(); AT(); - printf(" H5Fget_obj_ids returned as second id: %d; expected: 0\n", open_dtypes[1]); + printf(" H5Fget_obj_ids returned as second id: %"PRId64"; expected: 0\n", open_dtypes[1]); goto error; } |