summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 3346b91..683b76b 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -255,6 +255,7 @@ precision (detected_t *d)
fflush(stderr); \
if (0==(_child=fork())) { \
_buf = malloc(sizeof(TYPE)+align_g[NELMTS(align_g)-1]); \
+ *((TYPE*)(_buf+align_g[_ano])) = _val; \
_val = *((TYPE*)(_buf+align_g[_ano])); \
free(_buf); \
exit(0); \