diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-09-24 22:35:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-09-24 22:35:30 (GMT) |
commit | eea89e1e6cc4ca6f743e00b3056ab91befd2511f (patch) | |
tree | 4575c4861be3d51ed4fe227d0fa85b349ef29842 /src/H5Tconv.c | |
parent | aeb5116600a32c79125e7d66e6224683f7dbae27 (diff) | |
download | hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.zip hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.tar.gz hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.tar.bz2 |
[svn-r1651] Fold in J90 changes
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 0973ec4..0b43fbe 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -265,8 +265,8 @@ static intn interface_initialize_g = 0; /* The first part of every integer hardware conversion macro */ #define CI_BEGIN(STYPE,DTYPE,ST,DT,STRT) { \ size_t elmtno; /*element number */ \ - uint8_t *src, *s; /*source buffer */ \ - uint8_t *dst, *d; /*destination buffer */ \ + void *src, *s; /*source buffer */ \ + void *dst, *d; /*destination buffer */ \ H5T_t *st, *dt; /*data type descriptors */ \ long_long aligned; /*largest integer type, aligned */ \ hbool_t s_mv, d_mv; /*move data to align it? */ \ @@ -348,8 +348,8 @@ static intn interface_initialize_g = 0; if (d_mv) HDmemcpy(dst, &aligned, dt_size); \ \ /* Advance pointers */ \ - src += direction * s_stride; \ - dst += direction * d_stride; \ + src = (char *)src + direction * s_stride; \ + dst = (char *)dst + direction * d_stride; \ } \ break; \ \ |