mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r1693] removed the last warnings from here
This commit is contained in:
parent
21b0e20bf7
commit
f1917f0754
@ -1696,10 +1696,10 @@ static void print_enum(hid_t type){
|
||||
}
|
||||
} else if (H5T_SGN_NONE==H5Tget_sign(native)) {
|
||||
printf("%"PRINTF_LL_WIDTH"u",
|
||||
*((unsigned long_long*)(value+i*dst_size)));
|
||||
*((unsigned long_long*)((void*)(value+i*dst_size))));
|
||||
} else {
|
||||
printf("%"PRINTF_LL_WIDTH"d",
|
||||
*((long_long*)(value+i*dst_size)));
|
||||
*((long_long*)((void*)(value+i*dst_size))));
|
||||
}
|
||||
printf(";");
|
||||
}
|
||||
@ -1736,4 +1736,4 @@ dump_oid(hid_t oid){
|
||||
printf("%d", oid);
|
||||
printf (" %s\n", END);
|
||||
indent -= COL;
|
||||
}
|
||||
}
|
||||
|
@ -1386,7 +1386,7 @@ void test_objref(void){
|
||||
/* Create a dataset (inside Group1) */
|
||||
dataset=H5Dcreate(group,"Dataset1",H5T_STD_U32BE,sid1,H5P_DEFAULT);
|
||||
|
||||
for(tu32=(uint32_t *)wbuf,i=0; i<SPACE1_DIM1; i++)
|
||||
for(tu32=(uint32_t *)((void*)wbuf),i=0; i<SPACE1_DIM1; i++)
|
||||
*tu32++=i*3;
|
||||
|
||||
/* Write selection to disk */
|
||||
|
@ -845,10 +845,10 @@ display_enum_type(hid_t type, int ind)
|
||||
}
|
||||
} else if (H5T_SGN_NONE==H5Tget_sign(native)) {
|
||||
printf("%"PRINTF_LL_WIDTH"u",
|
||||
*((unsigned long_long*)(value+i*dst_size)));
|
||||
*((unsigned long_long*)((void*)(value+i*dst_size))));
|
||||
} else {
|
||||
printf("%"PRINTF_LL_WIDTH"d",
|
||||
*((long_long*)(value+i*dst_size)));
|
||||
*((long_long*)((void*)(value+i*dst_size))));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user