summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-24 22:35:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-24 22:35:30 (GMT)
commiteea89e1e6cc4ca6f743e00b3056ab91befd2511f (patch)
tree4575c4861be3d51ed4fe227d0fa85b349ef29842 /src
parentaeb5116600a32c79125e7d66e6224683f7dbae27 (diff)
downloadhdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.zip
hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.tar.gz
hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.tar.bz2
[svn-r1651] Fold in J90 changes
Diffstat (limited to 'src')
-rw-r--r--src/H5Tconv.c8
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; \
\