From 2a5454616a653b9830c103be7381af28ba397a3d Mon Sep 17 00:00:00 2001 From: Mohamad Chaarawi Date: Mon, 11 Aug 2014 09:19:43 -0500 Subject: [svn-r25527] fix printf format warnings in dtypes test. --- test/dtypes.c | 4 ++-- 1 file 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; } -- cgit v0.12