[svn-r15933] for some reason , the use of H5_PRINTF_LL_WIDTH to convert to a unsigned long long format

is not working in ia64 linux (tg-login3)
hardcoded the format to "%llu"

tested: windows, linux (kagiso), solaris, ia64 linux (tg-login3)
This commit is contained in:
Pedro Vicente Nunes
2008-10-22 17:33:58 -05:00
parent 83abc3a4e4
commit b694ad6c87
3 changed files with 8 additions and 33 deletions

View File

@@ -18,35 +18,6 @@
#include "H5private.h"
#include "h5tools.h"
/*-------------------------------------------------------------------------
* Function: print_size
*
* Purpose: print dimensions
*
*-------------------------------------------------------------------------
*/
#if defined (H5DIFF_DEBUG)
static void
print_size (int rank, hsize_t *dims)
{
int i;
unsigned long_long dim;
parallel_print("[" );
for ( i = 0; i < rank-1; i++)
{
dim = dims[i];
parallel_print("%"H5_PRINTF_LL_WIDTH"u", *((unsigned long_long *)((void *)dim))));
parallel_print("x");
}
dim = dims[rank-1];
parallel_print("%"H5_PRINTF_LL_WIDTH"u", *((unsigned long_long *)((void *)dim)))));
parallel_print("]\n" );
}
#endif /* H5DIFF_DEBUG */
/*-------------------------------------------------------------------------
* Function: diff_dataset